unable to ssh without giving password on command line

Nitin nitinmehta at kappa.net.in
Mon Sep 13 08:36:53 UTC 2004


----- Original Message ----- 
From: "Edward" <edward at tripled.iinet.net.au>
To: "General Red Hat Linux discussion list" <redhat-list at redhat.com>
Sent: Monday, September 13, 2004 01:48 PM
Subject: Re: unable to ssh without giving password on command line


>
>
> Nitin wrote:
>
> > Thanks for reply, but it's set to yes. In fact, I didn't change any
option
> > from the original config file except PermitRootLogin to no.
> >
> > Any other suggestions plz
>
> Another suggestion follows at the bottom (please do not top post).
>
> >
> > ----- Original Message ----- 
> > From: "Edward" <edward at tripled.iinet.net.au>
> > To: "General Red Hat Linux discussion list" <redhat-list at redhat.com>
> > Sent: Monday, September 13, 2004 12:42 PM
> > Subject: Re: unable to ssh without giving password on command line
> >
> >
> >
> >>
> >>Nitin wrote:
> >>
> >>
> >>>Hi all,
> >>>
> >>>It was all working fine but since I re-installed my server, I'm not
able
> >
> > to login to other server through SSH without giving password on command
> > line. I'm using "authorized_keys2" file as earlier, but it still keeps
> > asking for password.
> >
> >>>
> >>>Any ideas what could be wrong
> >>>
> >>>Thanks in advance
> >>
> >>Make sure you set the right options in /etc/ssh/sshd.conf
> >>
> >>In particular PasswordAuthentication.
> >>
> >>Regards,
> >>Ed.
>
> I've never used authorized_keys2, I use authorized_keys, but I'm
> guessing its the same.
>
> Make sure it's under /home/<user-name>/.ssh
>
> Also make sure it is owned by <user-name>
>
> also make sure permissions are: -rw-------
>
> Regards,
> Ed.
>

Thank you guys. It was a problem with permissions only, (authorized_keys2
works).
It was rw-rw---- by default.

Thaks you very much for help.

>
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list






More information about the redhat-list mailing list