question about keys
From: DELTEL Charles (charles.deltel_at_lodyc.jussieu.fr)
Date: 06/27/05
- Previous message: Owen Dunn: "Re: Learn to Use SSH"
- Next in thread: Darren Tucker: "Re: question about keys"
- Reply: Darren Tucker: "Re: question about keys"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 27 Jun 2005 19:27:52 +0200
Hello,
Sorry if this question may seem obvious, but I've currently found no
appropriate solution to my problem. I also hope this newsgroup is the
right place to ask such a question.
The problem is that I'm still asked for a password (no passphrase
chosen) when I login with ssh to the computer where I've put my public
key, in files called authorized_keys/authorized_keys2.
The key pair was on generated a local FreeBSD system, and the public key
is put on a remote Linux system.
On the local machine, ssh -V returns :
OpenSSH_3.6.1p1+CAN-2004-0175, SSH protocols 1.5/2.0, OpenSSL 0x0090702f
and on the remote one, it gives :
OpenSSH_3.6.1p2, SSH protocols 1.5/2.0, OpenSSL 0x0090702f
The problem is not solved by moving from rsa to dsa.
The debug messages are appended below.
NB: however, everything works good when ssh connecting from the same
local FreeBSD computer to an IRIX64 system with :
OpenSSH_3.9p1, OpenSSL 0.9.7d 17 Mar 2004
installed.
Any hint greatly appreciated,
Thanks
Ch. D.
======================================================================================
debug messages (ssh -vvv)
======================================================================================
(...)
debug2: dh_gen_key: priv key bits set: 127/256
debug2: bits set: 1599/3191
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug3: check_host_in_hostfile: filename /xxx/xxx/.ssh/known_hosts
debug3: check_host_in_hostfile: match line 1
debug3: check_host_in_hostfile: filename /xxx/xxx/.ssh/known_hosts
debug3: check_host_in_hostfile: match line 1
debug1: Host 'serverXXX' is known and matches the RSA host key.
debug1: Found key in /xxx/xxx/.ssh/known_hosts:1
debug2: bits set: 1613/3191
debug1: ssh_rsa_verify: signature correct
debug2: kex_derive_keys
debug2: set_newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug2: set_newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue:
publickey,password,keyboard-interactive
debug3: start over, passed a different list
publickey,password,keyboard-interactive
debug3: preferred
external-keyx,gssapi,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: Trying private key: /xxx/xxx/.ssh/identity
debug3: no such identity: /xxx/xxx/.ssh/identity
debug1: Offering public key: /xxx/xxx/.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: Trying private key: /xxx/xxx/.ssh/id_dsa
debug3: no such identity: /xxx/xxx/.ssh/id_dsa
debug2: we did not send a packet, disable method
debug3: authmethod_lookup keyboard-interactive
debug3: remaining preferred: password
debug3: authmethod_is_enabled keyboard-interactive
debug1: Next authentication method: keyboard-interactive
debug2: userauth_kbdint
debug2: we sent a keyboard-interactive packet, wait for reply
debug1: Authentications that can continue:
publickey,password,keyboard-interactive
debug3: userauth_kbdint: disable: no info_req_seen
debug2: we did not send a packet, disable method
debug3: authmethod_lookup password
debug3: remaining preferred:
debug3: authmethod_is_enabled password
debug1: Next authentication method: password
- Previous message: Owen Dunn: "Re: Learn to Use SSH"
- Next in thread: Darren Tucker: "Re: question about keys"
- Reply: Darren Tucker: "Re: question about keys"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|