unable to ssh without giving password on command line

Ed Greshko Ed.Greshko at greshko.com
Mon Sep 13 08:16:59 UTC 2004


On Mon, 2004-09-13 at 15:51, 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

Shouldn't the file name be "authorized_keys"?

Also, make sure you are the owner and permissions are 600.

Ed

> 
> ----- 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.
> >
> >
> > -- 
> > redhat-list mailing list
> > unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
-- 
"I think the problem, to be quite honest with you, is that you've never
actually known what the question is."

--The computer "Deep Thought" in "Hitchhiker's Guide to The Galaxy"





More information about the redhat-list mailing list