After installing ssh and generating the host key did you also generate an
account key?  The public host key from the client system should go into the
known_hosts file on the server system and the public account key from the
client should be placed in the authorized_keys file on the host.  If you
have already done this then I apologize but mucking up these steps are
probably the most commonly made mistake when configuring ssh.

--------------------
Michael St. Laurent
Hartwell Corporation


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of 
> Pierre Abbat
> Sent: Tuesday, July 11, 2000 3:28 PM
> To: Multiple recipients of list RSYNC
> Subject: ssh fails to accept key
> 
> 
> I have been consistently asked for my password when sshing 
> into a host which I
> update a webpage on with rsync. My public key is in 
> .ssh/authorized_keys on
> that host. I just did sshd -v -p 2222 and sshed in from 
> another console. The
> debug sshd printed this:
> 
> Connection from 207.15.133.28 port 62798
> debug: Client protocol version 1.5; client software version 1.2.27
> debug: Sent 768 bit public key and 1024 bit host key.
> debug: Encryption type: blowfish
> debug: Received session key; encryption turned on.
> debug: Installing crc compensation attack detector.
> debug: Starting up PAM with username "phma"
> debug: Attempting authentication for phma.
> Failed rsa for phma from 207.15.133.28 port 62798
> debug: PAM Password authentication accepted for user "phma"
> Accepted password for phma from 207.15.133.28 port 62798
> debug: PAM setting rhost to "i028-1.clt-nc.oltronics.net"
> debug: Allocating pty.
> debug: Received request for X11 forwarding with auth spoofing.
> debug: Socket family 10 not supported [X11 disp create]
> debug: channel 0: new [X11 inet listener]
> debug: Forking shell.
> debug: PAM setting tty to "/dev/pts/2"
> debug: PAM establishing creds
> debug: Entering interactive session.
> debug: Setting controlling tty using TIOCSCTTY.
> 
> The computer I'm on has the internal LAN name neofelis, and 
> the key is labeled
> phma@neofelis. How can I get this ssh to accept my key?
> 
> phma
> 

Reply via email to