SSH problem

SSH problem

Nadav Har'El nyh at math.technion.ac.il
Wed Jan 27 19:59:06 IST 2010


On Wed, Jan 27, 2010, Hetz Ben Hamo wrote about "SSH problem":
> debug1: Offering public key: /home/hetz/.ssh/id_rsa
>..
> debug1: Trying private key: /home/hetz/.ssh/id_dsa
> debug1: Next authentication method: password

I don't know if this is your case, but this usually happens when the
*remote* machine doesn't have ~/.ssh/authorized_keys set up properly.

A very common reason is that it doesn't have the proper permissions.
Make sure that nobody else but you have any permissions for ~/.ssh and
~/.ssh/authorized_keys on the remote machine (run "chmod og=" on these
files if they have the wrong permission).

If this is NOT the problem, go to the server and look at its logs to
see if they give you any hints on what is not working.
This log may be on /var/log/secure - but this location can change depending
on your distribution.

-- 
Nadav Har'El                        |   Wednesday, Jan 27 2010, 13 Shevat 5770
nyh at math.technion.ac.il             |-----------------------------------------
Phone +972-523-790466, ICQ 13349191 |If I were two-faced, would I be wearing
http://nadav.harel.org.il           |this one?.... Abraham Lincoln



More information about the Linux-il mailing list