Ubuntu Server 15.04 how to login using ssh?
Emily Wong
After installation, I tried to login from a remote computer using ssh. It asks for the password but it does not allow the server password as valid. What is the default configuration for ssh in Ubuntu Server? How to change the password (without changing the password for root)?
12 Answers
I disable the password access and used private/public key. Follow this document:
Note! Generates the keys in your client computer and transfer the public key to the server! Do not disable the passwords authentication until you test login using the public key.
Often the default ssh config doesn't allow root login, or root login with a password (i.e. you have to use an ssh key). You could change this, but you're probably better off ssh-ing in as a normal user and using sudo or su, unless you have special requirements for some reason.