If you want to ssh/login to the root account of the server, the public key has to be in the "root's" home directory. On most systems this will be "/root/.ssh".
You did :
Quote:
Code:
mv /id_rsa.pub /etc/.ssh/authorized_keys
|
That should have been:
Code:
mv /id_rsa.pub /root/.ssh/authorized_keys
Of course, this will wipe out an already existing
authorized_keysSo this is not so smart if there already is such a file.