unable to ssh without giving password on command line

Edward edward at tripled.iinet.net.au
Mon Sep 13 08:18:45 UTC 2004



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.





More information about the redhat-list mailing list