-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Your destination side does not appear to be liking your certificate.
Here’s a snippet from my system which is working (11.2 x86_64). Post an
ls -la of ~/.ssh
<quote>
debug2: key: /home/ab/.ssh/id_rsa (0x83928f9c8b92)
debug2: key: /home/ab/.ssh/id_dsa ((nil))
debug1: Authentications that can continue: publickey,keyboard-interactive
debug3: start over, passed a different list publickey,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/ab/.ssh/id_rsa
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug1: Server accepts key: pkalg ssh-rsa blen 277
debug2: input_userauth_pk_ok: fp
b5:82:76:22:f3:3a:7e:00:95:23:74:fe:23:11:22:33
debug3: sign_and_send_pubkey
debug1: Authentication succeeded (publickey).
</quote>
Good luck.
On 06/25/2010 10:16 AM, VampirD wrote:
> I think the problem is debug3: Not a RSA1 key file
> /home/vampird/.ssh/id_rsa.
>
> Here I post the output.
>
> [vampird@lyra]:~$ ssh -vvv iimpi3
> OpenSSH_5.4p1, OpenSSL 1.0.0 29 Mar 2010
> debug1: Reading configuration data /etc/ssh/ssh_config
> debug1: Applying options for *
> debug2: ssh_connect: needpriv 0
> debug1: Connecting to iimpi3 [xxx.xx.xx.xxx] port xxx.
> debug1: Connection established.
> debug3: Not a RSA1 key file /home/vampird/.ssh/id_rsa.
> debug2: key_type_from_name: unknown key type ‘-----BEGIN’
> debug3: key_read: missing keytype
> debug3: key_read: missing whitespace
> debug3: key_read: missing whitespace
> debug3: key_read: missing whitespace
> debug3: key_read: missing whitespace
> debug3: key_read: missing whitespace
> debug3: key_read: missing whitespace
> debug3: key_read: missing whitespace
> debug3: key_read: missing whitespace
> debug3: key_read: missing whitespace
> debug3: key_read: missing whitespace
> debug3: key_read: missing whitespace
> debug3: key_read: missing whitespace
> debug3: key_read: missing whitespace
> debug3: key_read: missing whitespace
> debug3: key_read: missing whitespace
> debug3: key_read: missing whitespace
> debug3: key_read: missing whitespace
> debug3: key_read: missing whitespace
> debug3: key_read: missing whitespace
> debug3: key_read: missing whitespace
> debug3: key_read: missing whitespace
> debug3: key_read: missing whitespace
> debug3: key_read: missing whitespace
> debug3: key_read: missing whitespace
> debug3: key_read: missing whitespace
> debug2: key_type_from_name: unknown key type ‘-----END’
> debug3: key_read: missing keytype
> debug1: identity file /home/vampird/.ssh/id_rsa type 1
> debug1: identity file /home/vampird/.ssh/id_rsa-cert type -1
> debug1: identity file /home/vampird/.ssh/id_dsa type -1
> debug1: identity file /home/vampird/.ssh/id_dsa-cert type -1
> debug1: Remote protocol version 2.0, remote software version OpenSSH_5.4
> debug1: match: OpenSSH_5.4 pat OpenSSH*
> debug1: Enabling compatibility mode for protocol 2.0
> debug1: Local version string SSH-2.0-OpenSSH_5.4
> debug2: fd 3 setting O_NONBLOCK
> debug1: SSH2_MSG_KEXINIT sent
> debug1: SSH2_MSG_KEXINIT received
> debug2: kex_parse_kexinit:
> diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
> debug2: kex_parse_kexinit:
> ssh-rsa-cert-v00@openssh.com,ssh-dss-cert-v00@openssh.com,ssh-rsa,ssh-dss
> debug2: kex_parse_kexinit:
> aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
> debug2: kex_parse_kexinit:
> aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
> debug2: kex_parse_kexinit:
> hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
> debug2: kex_parse_kexinit:
> hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
> debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
> debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
> debug2: kex_parse_kexinit:
> debug2: kex_parse_kexinit:
> debug2: kex_parse_kexinit: first_kex_follows 0
> debug2: kex_parse_kexinit: reserved 0
> debug2: kex_parse_kexinit:
> diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
> debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
> debug2: kex_parse_kexinit:
> aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
> debug2: kex_parse_kexinit:
> aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
> debug2: kex_parse_kexinit:
> hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
> debug2: kex_parse_kexinit:
> hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
> debug2: kex_parse_kexinit: none,zlib@openssh.com
> debug2: kex_parse_kexinit: none,zlib@openssh.com
> debug2: kex_parse_kexinit:
> debug2: kex_parse_kexinit:
> debug2: kex_parse_kexinit: first_kex_follows 0
> debug2: kex_parse_kexinit: reserved 0
> debug2: mac_setup: found hmac-md5
> debug1: kex: server->client aes128-ctr hmac-md5 none
> debug2: mac_setup: found hmac-md5
> debug1: kex: client->server aes128-ctr hmac-md5 none
> debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
> debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
> debug2: dh_gen_key: priv key bits set: 123/256
> debug2: bits set: 508/1024
> debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
> debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
> debug3: check_host_in_hostfile: host iimpi3 filename
> /home/vampird/.ssh/known_hosts
> debug3: check_host_in_hostfile: host iimpi3 filename
> /home/vampird/.ssh/known_hosts
> debug3: check_host_in_hostfile: match line 8
> debug3: check_host_in_hostfile: host xxx.xx.xx.xxx filename
> /home/vampird/.ssh/known_hosts
> debug3: check_host_in_hostfile: host xxx.xx.xx.xxx filename
> /home/vampird/.ssh/known_hosts
> debug3: check_host_in_hostfile: match line 8
> debug1: Host ‘iimpi3’ is known and matches the RSA host key.
> debug1: Found key in /home/vampird/.ssh/known_hosts:8
> Host key fingerprint is 71:cb:4b:36:70:71:ed:72:c8:67:21:80:d3:da:64:2e
> ±- RSA 1024]----+
> | oo… |
> | o +o. o |
> | oBo. + . |
> | Eo.+ = |
> | S. = |
> | o o |
> | . |
> | |
> | |
> ±----------------+
>
> debug2: bits set: 508/1024
> 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: Roaming not allowed by server
> debug1: SSH2_MSG_SERVICE_REQUEST sent
> debug2: service_accept: ssh-userauth
> debug1: SSH2_MSG_SERVICE_ACCEPT received
> debug2: key: /home/vampird/.ssh/id_rsa (0x7fccfbc125a0)
> debug2: key: /home/vampird/.ssh/id_dsa ((nil))
> debug1: Authentications that can continue: publickey,keyboard-interactive
> debug3: start over, passed a different list publickey,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/vampird/.ssh/id_rsa
> debug3: send_pubkey_test
> debug2: we sent a publickey packet, wait for reply
> debug1: Authentications that can continue: publickey,keyboard-interactive
> debug1: Trying private key: /home/vampird/.ssh/id_dsa
> debug3: no such identity: /home/vampird/.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
> debug2: input_userauth_info_req
> debug2: input_userauth_info_req: num_prompts 1
> Password:
> debug3: packet_send2: adding 32 (len 22 padlen 10 extra_pad 64)
> debug2: input_userauth_info_req
> debug2: input_userauth_info_req: num_prompts 0
> debug3: packet_send2: adding 48 (len 10 padlen 6 extra_pad 64)
> debug1: Authentication succeeded (keyboard-interactive).
> debug1: channel 0: new [client-session]
> debug3: ssh_session2_open: channel_new: 0
> debug2: channel 0: send open
> debug1: Requesting no-more-sessions@openssh.com
> debug1: Entering interactive session.
> debug2: callback start
> debug2: client_session2_setup: id 0
> debug2: channel 0: request pty-req confirm 1
> debug1: Sending environment.
> debug3: Ignored env LESSKEY
> debug3: Ignored env NNTPSERVER
> debug3: Ignored env MANPATH
> debug3: Ignored env HOSTNAME
> debug3: Ignored env MALLOC_CHECK_
> debug3: Ignored env XKEYSYMDB
> debug3: Ignored env HOST
> debug3: Ignored env TERM
> debug3: Ignored env SHELL
> debug3: Ignored env PROFILEREAD
> debug3: Ignored env HISTSIZE
> debug3: Ignored env SSH_CLIENT
> debug3: Ignored env MORE
> debug3: Ignored env QTDIR
> debug3: Ignored env SSH_TTY
> debug3: Ignored env NO_PROXY
> debug3: Ignored env http_proxy
> debug3: Ignored env JRE_HOME
> debug3: Ignored env USER
> debug3: Ignored env LD_LIBRARY_PATH
> debug3: Ignored env LS_COLORS
> debug3: Ignored env XNLSPATH
> debug3: Ignored env ENV
> debug3: Ignored env HOSTTYPE
> debug3: Ignored env ftp_proxy
> debug3: Ignored env FROM_HEADER
> debug3: Ignored env PAGER
> debug3: Ignored env CSHEDIT
> debug3: Ignored env XDG_CONFIG_DIRS
> debug3: Ignored env MINICOM
> debug3: Ignored env MAIL
> debug3: Ignored env PATH
> debug3: Ignored env CPU
> debug3: Ignored env JAVA_BINDIR
> debug3: Ignored env INPUTRC
> debug3: Ignored env PWD
> debug3: Ignored env JAVA_HOME
> debug1: Sending env LANG = en_US.UTF-8
> debug2: channel 0: request env confirm 0
> debug3: Ignored env PYTHONSTARTUP
> debug3: Ignored env QMAKESPEC
> debug3: Ignored env SDK_HOME
> debug3: Ignored env https_proxy
> debug3: Ignored env MALLOC_PERTURB_
> debug3: Ignored env QT_SYSTEM_DIR
> debug3: Ignored env JDK_HOME
> debug3: Ignored env SHLVL
> debug3: Ignored env HOME
> debug3: Ignored env LESS_ADVANCED_PREPROCESSOR
> debug3: Ignored env OSTYPE
> debug3: Ignored env LS_OPTIONS
> debug3: Ignored env no_proxy
> debug3: Ignored env XCURSOR_THEME
> debug3: Ignored env WINDOWMANAGER
> debug3: Ignored env G_FILENAME_ENCODING
> debug3: Ignored env LESS
> debug3: Ignored env MACHTYPE
> debug3: Ignored env LOGNAME
> debug3: Ignored env CVS_RSH
> debug3: Ignored env XDG_DATA_DIRS
> debug3: Ignored env SSH_CONNECTION
> debug3: Ignored env LESSOPEN
> debug3: Ignored env LESSCLOSE
> debug3: Ignored env G_BROKEN_FILENAMES
> debug3: Ignored env JAVA_ROOT
> debug3: Ignored env COLORTERM
> debug3: Ignored env mc
> debug3: Ignored env _
> debug2: channel 0: request shell confirm 1
> debug2: fd 3 setting TCP_NODELAY
> debug2: callback done
> debug2: channel 0: open confirm rwindow 0 rmax 32768
> debug2: channel_input_status_confirm: type 99 id 0
> debug2: PTY allocation request accepted on channel 0
> debug2: channel 0: rcvd adjust 2097152
> debug2: channel_input_status_confirm: type 99 id 0
> debug2: shell request accepted on channel 0
> Last login: Thu Jun 24 11:20:32 2010 from lyra.fing.edu.uy
> Have a lot of fun…
> [vampird@iimpi3]:~$ cd .ssh
> [vampird@iimpi3]:~/.ssh$ ls
> authorized_keys id_rsa id_rsa.pub known_hosts sharwyn.pub shinobu.pub
> [vampird@iimpi3]:~/.ssh$ l
> total 14
> drwx------ 2 4294967294 4294967294 512 2010-06-01 13:31 ./
> drwx—r-x 55 4294967294 4294967294 2560 2010-06-24 16:02 …/
> -rw-r–r-- 1 4294967294 4294967294 1188 2010-01-23 09:55 authorized_keys
> -rw------- 1 4294967294 4294967294 1675 2009-12-04 08:36 id_rsa
> -rw-r–r-- 1 4294967294 4294967294 394 2009-12-04 08:36 id_rsa.pub
> -rw-r–r-- 1 4294967294 4294967294 2831 2010-06-24 14:18 known_hosts
> -rw-r–r-- 1 4294967294 4294967294 397 2010-01-19 10:17 sharwyn.pub
> -rw------- 1 4294967294 4294967294 397 2010-01-23 09:55 shinobu.pub
> [vampird@iimpi3]:~/.ssh$
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQIcBAEBAgAGBQJMJOfoAAoJEF+XTK08PnB5NgUP+gO4rc8kGBYhEO4aJMQJ9YAL
QCoikFkTxpkbZWEg+4fdUYYI2L0AolrSg7EBRNeFShCHuGWJ8qelmta47+/3+629
JgfcsP3hbgmGF8ExduZrlhZOFfvlvgtXyf8GAOZkU1U2zIdd5KT244EhAdCj645x
yf7nbg/ZOPV3B+H4WBKczImk6t8efk3vWF3l9MFpSidIy/Q2uysmNwcqPJsmvrC5
hUzKQIe4HI0lazKLbSbHnR6eV0b7q2uqTtRpmxsD+QPX+QhOBrNWferpuKOGB268
q6cc1jDkShjoQz9G2ilhxqirldBiXv6UHwvtxelXNG9M4+YSeZ2eVKyk9oey+PmQ
doYP/My45pt0b1AJomBShUls3VvHlsCkYEyLaaI7461YwM4RCUtp1JcNU2bgKyE8
FwgWPP1AuEx7DWaXXjZ2SNwJ7Z0D8/ds6TldJqmOA1bd1jvSO4QE2WxDyPZqQwp4
6REcMdK79RACRg0IwXkb5EoPbrtUtZT7WRDGKh6nDLUJr6T+A8yZHIsAvKsg8+Jd
myVnyI2aSv/57QnG/zVo2jMIahSNI1g2Lxhs1bDH2DQt4EQLp0gpGKgreaT3ai2Y
yZYzMhPibfZzt/vlPZPnCPUQQm/Gv7YUCurC9q+QrSKih17dIMX81gNhUQg/+n38
MD7/qKsoPExdeN01ZLuo
=OqfV
-----END PGP SIGNATURE-----