Hello,

I'm trying to use public key authentication for ssh, but still
unsuccessfully.  The ssh host -vvv gives following output
...
debug1: Authentications that can continue:
publickey,password,keyboard-interactive
debug3: start over, passed a different list
publickey,password,keyboard-interactive
 debug3: preferred publickey,keyboard-interactive,password
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
 debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
 debug1: Offering public key: /home/jkaspar/.ssh/id_rsa
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
 debug1: Authentications that can continue:
publickey,password,keyboard-interactive
debug1: Offering public key: /home/jkaspar/.ssh/id_dsa
debug3: send_pubkey_test
 debug2: we sent a publickey packet, wait for reply
 debug1: Authentications that can continue:
publickey,password,keyboard-interactive
debug2: we did not send a packet, disable method
...
debug1: Next authentication method: password
 [EMAIL PROTECTED]'s password:

I've generated the public key files by
 ssh-keygen -t dsa
ssh-keygen -t rsa
and moved them to the server side by
 ssh-copy-id host
I checked (on server) ~/.ssh/authorized_keys and that file does
contain the keys. Permissions are set
 drwxr--r--  2 jkaspar zj    4096 Oct 16 10:38 .ssh
-rw-r--r--  1 jkaspar zj    1667 Oct 16 09:58 authorized_keys

I'm sure the server runs sshd with
RSAAuthentication yes
 PubkeyAuthentication yes
AuthorizedKeysFile      .ssh/authorized_keys

Client runs OpenSSH_4.7p1 (ArchLinux), server runs OpenSSH_4.3p2-
4.cern-hpn (CERN Linux 4).

I'd be very grateful for any help. Thank you in advance,

Jan.



-- 
My web page: http://cern.ch/jkaspar/
My cell phone: +4176 206 5932

Reply via email to