[Bug 514198] [NEW] SSH key stopped working

Torsten Spindler torsten at canonical.com
Fri Jan 29 09:35:24 GMT 2010


Public bug reported:

On UEC on Ubuntu 9.10 the following problem occured during last week's
training session:

A student created a key and it worked fine. After some time it stopped
working, e.g. the key can no longer be used to log into an instance. The
key is named mykey and specific for a certain user - note that multiple
users have all a key called 'mykey', maybe this is where Eucalyptus gets
confused?

$ ssh -vi ./mykey.priv ubuntu at 172.24.129.139
OpenSSH_4.7p1 Debian-8ubuntu1.2, OpenSSL 0.9.8g 19 Oct 2007
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to 172.24.129.139 [172.24.129.139] port 22.
debug1: Connection established.
debug1: identity file ./mykey.priv type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.1p1 Debian-6ubuntu2
debug1: match: OpenSSH_5.1p1 Debian-6ubuntu2 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.7p1 Debian-8ubuntu1.2
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug1: Host '172.24.129.139' is known and matches the RSA host key.
debug1: Found key in /home/student/.ssh/known_hosts:2
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Trying private key: ./mykey.priv
debug1: read PEM private key done: type RSA
debug1: Authentications that can continue: publickey
debug1: No more authentication methods to try.
Permission denied (publickey).

** Affects: eucalyptus (Ubuntu)
     Importance: Undecided
         Status: New

-- 
SSH key stopped working
https://bugs.launchpad.net/bugs/514198
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to eucalyptus in ubuntu.



More information about the Ubuntu-server-bugs mailing list