linux-il  

Re: SSH problem

guy keren
Wed, 27 Jan 2010 16:50:48 -0800


someone suggested that you should disable gssapi - i second that. we had a similar problem with centos systems (thought it was more of connections taking long - not completely failing), and disabling the use of gssapi _in the client_ solved it.

--guy

Hetz Ben Hamo wrote:
Hi Nadav,

The permission issue is the first thing I checked. Everything is ok there
The log portion which I posted is what appears in the secure log file.
Trying to disable Kerberos doesn't help.

Thanks,
Hetz

On Wed, Jan 27, 2010 at 7:59 PM, Nadav Har'El <n...@math.technion.ac.il <mailto:n...@math.technion.ac.il>> wrote:

    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 <mailto: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




--
my blog (hebrew): http://benhamo.org
Skype: heunique
MSN: hetz-b...@benhamo.org <mailto:hetz-b...@benhamo.org>


------------------------------------------------------------------------

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


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