On Tuesday, January 21, 2003, at 02:01 PM, Bob Willcox wrote:

I am trying (in vain so far) to get ssh to allow me to connect using
public keys and without any prompts (I need this for a software
distribuiton/configuration package I need to run). I have had this work
before, but now it seems to escape me. To simplify my testing my client
and server system is the same (i.e., I'm attempting to use ssh to login
to the local system).

My .ssh subdirectory contents:

$ ls -la .ssh
total 22
drwxr-xr-x  2 bobl  staff   512 Jan 21 15:28 .
drwxr-xr-x  3 bobl  staff   512 Jan 21 14:13 ..

debug1: PEM_read_PrivateKey failed
debug1: read PEM private key done: type <unknown>
Enter passphrase for key '/usr/home/bobl/.ssh/id_rsa':


Did you create your keys with no passwords, as in "ssh-keygen -t dsa" then just hit return a couple of times instead of giving a password? Also, and this probably doesn't change your present situation (but may because some things about ssh are just plain weird), your directory should be rwx for user only, so make sure to chmod go-rx that directory.


------------------------------------------------------------------------ --
Michael K. Smith NoaNet
206.219.7116 (work) 206.579.8360 (cell)
[EMAIL PROTECTED] http://www.noanet.net

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to