SSH question
Mike Bird
mgb-ubuntu at yosemite.net
Thu Jan 5 10:32:15 UTC 2006
On Thu, 2006-01-05 at 02:16, 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/i_rsa.pub /root/.ssh/authorised_keys
>
> chmod 644 /root/.ssh/authorised_keys
>
> I then copy authorised_keys to the machine I want to connect from, as root, and put it into /root/.ssh/authorised_keys
>
> I then chmod 644 this file.
>
> Despite this, when I run 'ssh root at remote_host', as root, I am still asked for remote host's root password. I cannot see what I am doing wrong(!)
You might want to try authorized_keys instead. :-)
--Mike Bird
More information about the ubuntu-users
mailing list