Re: Unable to ssh w/out password
- From: "Richard E. Silverman" <res@xxxxxxxx>
- Date: 27 Feb 2006 15:47:59 -0500
Does anyone know why I am still being prompted for a password?
Client - OpenSSH_3.5p1, SSH protocols 1.5/2.0, OpenSSL 0x0090701f
Server - OpenSSH_3.9p1
server sshd_config contains partly:
#RSAAuthentication yes
#PubkeyAuthentication yes
#AuthorizedKeysFile .ssh/authorized_keys
UsePAM no
Server contains authorized_keys file with the contents of id_rsa.pub
from the client
permission of authorized_keys on server is 600
permission of user's .ssh dir on server is 700
permission of user's .ssh dir on client is 700
permission of id_rsa.pub on client is 644
permission of id_rsa on client is 600
The home directory must also be writable only by the owner. If this is
the problem, you should see this in the server log:
Feb 27 15:46:59 syrinx sshd[19892]: Authentication refused: bad ownership or modes for directory /home/res
--
Richard Silverman
res@xxxxxxxx
.
- Follow-Ups:
- Re: Unable to ssh w/out password
- From: dbv
- Re: Unable to ssh w/out password
- References:
- Unable to ssh w/out password
- From: dbv
- Unable to ssh w/out password
- Prev by Date: Re: How to allow connection via public key authentication only
- Next by Date: Re: cygwin scp -r fails
- Previous by thread: Unable to ssh w/out password
- Next by thread: Re: Unable to ssh w/out password
- Index(es):
Relevant Pages
|
|