Question : SSH Problem - Linux

Hello!

I'm using Ubuntu 10.04 and I don't have this issue as work where I use the same OS.  I'm able to ssh to a server with no problem. However, when I do it at home, I'm being given the message:

permission denied (Public key)

I have everything the same as I did at work, and grabbed my keys from work, placed them in the same location and method as I did in work and it works fine at work and doesn't at home. the private & public key are located in ~/.ssh directory.

Any help would greatly be appreciated.

Thanks.

Answer : SSH Problem - Linux

You did not specify what username you are using,  I suspect the issue might be with you trying to ssh as root without making the alterations to /etc/ssh/sshd_config to permit root logins.

If you are not using root,
provide ls -la ~/.ssh

also which keys do you have identity.pub(ssh -1)  id_rsa.pub and/or id_dsa.pub are in the authorized_keys and authorized_keys2?
Another thing if you could post is the ssh -v username@location.
This will output the debugging information as to what ssh is trying to do to after the connection is established.
Random Solutions  
 
programming4us programming4us