Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-09-08 | config: disable ssh access to a configured user account | Chad Smith | |
Cloud config can now disable ssh access to non-root users. When defining the 'users' list in cloud-configuration a boolean 'ssh_redirect_user: true' can be provided to disable ssh logins for that user. Any ssh 'public-keys' defined in cloud meta-data will be added and disabled in .ssh/authorized_keys. Any attempts to ssh as this user using acceptable ssh keys will be presented with a message like the following: Please login as the user "ubuntu" rather than the user "youruser". | |||
2018-09-01 | Add unit tests for config/cc_ssh.py | Francis Ginther | |
These tests focus on the apply_credentials method and the ssh setup for root and a distro default user. |