Enabling SSH with password

In many cases you may need to access your box through ssh with a password. This may be the case if you have not installed certificates yet. You should temporarily enable access with password and when your job is done disable it. In the case of an Ubuntu machine it can be enabled for the whole system by altering /etc/ssh/sshd_config:

PasswordAuthentication yes

Then restart the ssh server:

/etc/init.d/ssh restart

This change will affect all users of the server.

See also:

comments powered by Disqus