ssh key

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi, I upgraded two openSUSE from 11.2 to 11.3 RC1 (x86_64 and x86),
but now it ask for my password when I ssh to the PC, anyone knows why?


VampirD

Microsoft Windows is like air conditioning
Stops working when you open a window.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAkwjZ0kACgkQJQ+0ABWtaVn4BQCggZkmrwP/WCe29DkGc4a1lrPO
zzEAn1RKKpp+BHWGngTjZyeIKmccyx2R
=RwnB
-----END PGP SIGNATURE-----

Did you keep the old ssh_config and sshd_config ?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yes, I did an online upgrade


VampirD

Microsoft Windows is like air conditioning
Stops working when you open a window.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAkwj7xIACgkQJQ+0ABWtaVmGBwCg6sOBAC1SruAYMEM2DtyZe68n
UagAnAz7ccUZ+0HLrkqEr9Y3+GhJsktP
=Cnm9
-----END PGP SIGNATURE-----

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Is your public key still on the remote box in the ~/.ssh/authorized_keys
file, and are permissions on that file and its parent directory still
secure? Try logging in with debugging to see if anything shows up; post
the output here.

ssh -vvv whatever you usually do here

Good luck.

On 06/24/2010 05:46 PM, VampirD wrote:
> Yes, I did an online upgrade
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJMJBD2AAoJEF+XTK08PnB5rREQAMpBxHEMQR8G/uTfZlUAh8sA
4geNsEkfRK3+l1gqvIv7UcfTzDmK5C31brBkmo8JdJWP8s4GUkZXS8i2JIS1NKZR
x5i5S8tV7B1SPwIt01SR4WSxRKPChFq/EWIm+4xz1hJRqYnFS+fLwZ/Yx24pxkQa
UztElZaH0Jdnd4p9NneWw0grKZjScvJcz4w3XBpA5hux9kSWsxnTjY9cS1JOV0s9
BzD4fwMUBgMd1+xINp9YLJ0sQmwkKRER4osyz0nd6Z77iAFZVVQFLqmgcXzvDOLI
+7nHPvOvk3KsVIhkT4TEY1oQhhr+p2RbBLhSwF6qxIvaKnr1x2gxjRxWoER6+Vle
xEnVWSe+OIzGdVFZRLSNkUtl9z1stSnsIypDHage5ZyvLk0cGeHjE/fxbh1lA7we
6hQhYwgTnnBWYGhM4b/dLMn3lnGpY1kSIy+Yl3JOmtoArUEwRq8bv+ktUHDLt4/Y
M3pjx8M8HIJppxY5h9S5txE1rJyihVcSH/iwO/56GAfX7vJxhKGIlA8Aav5gz+GM
OH2iRV6pFZGJ/5k80I1Mhiy0Pa9JlVJ2+2RVJsSm1RNtk+L6wAKWyMnsc3uDYSgl
mzTp33RsCEm/RmImpRMN7rf/B5uApQbzguwLHXEu0iB9Sl7jr1sEuRsfCkJu54Vk
L7wC06Lgbkz8c+BO0rXT
=ugVK
-----END PGP SIGNATURE-----

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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$

VampirD

Microsoft Windows is like air conditioning
Stops working when you open a window.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAkwk1yMACgkQJQ+0ABWtaVlj4ACgg7PXNHm3DghIrnFeQjrobOho
yLYAnjRO7n57/wdNdn753M3QQ8XkLuWd
=PXhB
-----END PGP SIGNATURE-----

-----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-----

How does your id_rsa file start? Mine starts as:

-----BEGIN RSA PRIVATE KEY-----

I think you may have an obsolete id_rsa format that used to work or perhaps was ignored in the past. You may have to generate a new one if it’s the wrong format. I’ve been using dsa so I haven’t tangled with rsa.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[vampird@lyra]:~$ ls -la .ssh
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@lyra]:~$

VampirD

Microsoft Windows is like air conditioning
Stops working when you open a window.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAkwk7YIACgkQJQ+0ABWtaVkDxwCgxsD5d87b/HObrfu79j5uc+Z2
PWoAoMQXXunhYNQK89tWSgHZbDiyIfaG
=r759
-----END PGP SIGNATURE-----

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

it start as:

  • -----BEGIN RSA PRIVATE KEY-----

was created with openSUSE 11.1


VampirD

Microsoft Windows is like air conditioning
Stops working when you open a window.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAkwk7eUACgkQJQ+0ABWtaVnuoQCg9luAuDGO+pKlBU1i7WmGor2m
J+0An3tUhKTGxj7opF9VRKmqV/aTyFWC
=1PZi
-----END PGP SIGNATURE-----

1675 bytes seems a bit long for a id_rsa file, but I’m not sure. Mine’s only 963 bytes. Does it contain some garbage at the end?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

It looks normal, and I have created another user (local no NIS) and
create the rsa key and it works, same size


VampirD

Microsoft Windows is like air conditioning
Stops working when you open a window.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAkwk9OAACgkQJQ+0ABWtaVmaHQCeIe7ZXRLd0IUlD8vEoZKXT+ed
JYcAoLORIGrO1/7ve3lpQvbuAi8H9zVI
=lZXf
-----END PGP SIGNATURE-----

I have similar issues here. Updated my workstation from 11.2 to 11.3 (32-bit). Installed 11.3 (64bit) fresh on a new server machine.

I can not connect via public key from the upgraded workstation to a fresh install server. I can “password” in though. I am at a loss as to why, and my output is very similar to the output already presented here.