How to ban password use on Ubuntu Hardy?
I will be using Ubuntu instances on EC2 where passwords are not used but private keys are used to login via ssh.
Thanks for help.
How to ban password use on Ubuntu Hardy?
I will be using Ubuntu instances on EC2 where passwords are not used but private keys are used to login via ssh.
Thanks for help.
Change the PasswordAuthentication line in /etc/ssh/sshd_config to no:
Old:
New:
And the restart sshd:
You should be good to go.