Re: unable to ssh without giving password on command line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- Original Message ----- 
From: "Edward" <edward@xxxxxxxxxxxxxxxxxxxx>
To: "General Red Hat Linux discussion list" <redhat-list@xxxxxxxxxx>
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@xxxxxxxxxxxxxxxxxxxx>
> > To: "General Red Hat Linux discussion list" <redhat-list@xxxxxxxxxx>
> > 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@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list



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

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux