View Single Post
  #2   (View Single Post)  
Old 11th November 2011
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

Quote:
Originally Posted by amrogers3 View Post
So I created a 2048 bit RSA key using key_gen.
I don't know "key_gen" -- but whatever it is, it may require you to use it with an option in to create keys in OpenSSH format. There are other SSH servers, and OpenSSH may not be the default. Check by comparing the contents of a .pub file generated by "key_gen" with one you create using ssh-keygen(1). Different file format, or the same?

Another possibility: PermitRootLogin may be set to no. See sshd_config(5).

Of course you have already done a # ls -l /root/.ssh to confirm the file is in the right place with the right permissions?

Edited to add:

And on the client, you've also examined $HOME/.ssh to ensure both key files are in place, with the right permissions?

Last edited by jggimi; 11th November 2011 at 04:59 PM. Reason: check client too
Reply With Quote