SSH question

Kristian Vilmann kvi at
Thu Jan 5 11:00:26 UTC 2006

David Mummery wrote:
> I'm trying to setup password-less SSH login using public/private keypair but am failing. All the documentation tells me to do the same thing but it does not work:
> On my remote machine, as root, I run:
> ssh-keygen -t rsa
> - Enter and confirm passphrase
> cp /root/.ssh/ /root/.ssh/authorised_keys
> chmod 644 /root/.ssh/authorised_keys

Next thing is that you really don't want to run as root. Run as a normal 
user, and use su. But don't forget to set the root-password for emergencies.


More information about the ubuntu-users mailing list