linux-il  

Re: SSH problem

Nadav Har'El
Wed, 27 Jan 2010 09:59:45 -0800

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
n...@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

_______________________________________________
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il