geerlingguy / ansible-role-security

Ansible Role - Security

Home Page:https://galaxy.ansible.com/geerlingguy/security/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Role does not support changing ssh port on Ubuntu 22

typhonius opened this issue · comments

Creating a new issue to continue report from #82 as Ubuntu 22 has switched to using socket streams rather than ports. With that in place, the Port directive in sshd_config is now ignored so this Ansible module has the potential impact of locking people out of servers if port + firewall settings are changed together.

This link provides the manual steps which I've added to a custom role, although it would be good to be supported more globally -- however it's best decided to be implemented.

commented

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.