Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a cloud setup with Eucalyptus and Xen. Whenever I try to launch an instance, instance gets launched. I can ping the instance with its IP but when I try to ssh into it I get error. Here is debug info

root@ubuntu:/home/ankur# ssh -i alice-keypair.private -vvv root@192.168.1.4 
OpenSSH_5.9p1 Debian-5ubuntu1.1, OpenSSL 1.0.1 14 Mar 2012 
debug1: Reading configuration data /etc/ssh/ssh_config 
debug1: /etc/ssh/ssh_config line 19: Applying options for * 
debug2: ssh_connect: needpriv 0 
debug1: Connecting to 192.168.1.4 [192.168.1.4] port 22. 
debug1: Connection established. 
debug1: permanently_set_uid: 0/0 
debug3: Incorrect RSA1 identifier 
debug3: Could not load "alice-keypair.private" as a RSA1 public key 
debug3: key_read: missing whitespace 
debug1: identity file alice-keypair.private type -1 
debug1: identity file alice-keypair.private-cert type -1 
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.3p1 Debian-3ubuntu7 
debug1: match: OpenSSH_5.3p1 Debian-3ubuntu7 pat OpenSSH* 
debug1: Enabling compatibility mode for protocol 2.0 
debug1: Local version string SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1.1 
debug2: fd 3 setting O_NONBLOCK 
debug3: load_hostkeys: loading entries for host "192.168.1.4" from file "/root/.ssh/known_hosts" 
debug3: load_hostkeys: loaded 0 keys 
debug1: SSH2_MSG_KEXINIT sent 
Connection closed by 192.168.1.4 
root@ubuntu:/home/ankur#

I have few questions

I can see following two lines

debug1: Connecting to 192.168.1.4 [192.168.1.4] port 22. 
debug1: Connection established.

This means connection is established?

I am not able to understand

debug3: Incorrect RSA1 identifier 
debug3: Could not load "alice-keypair.private" as a RSA1 public key 
debug3: key_read: missing whitespace

What is this? Do it mean my key is currupt?

also what is this

debug3: load_hostkeys: loading entries for host "192.168.1.4" from file "/root/.ssh/known_hosts" 
debug3: load_hostkeys: loaded 0 keys 

What is this loaded 0 keys?

and how to solve this problem?

share|improve this question
    
Most likely alice-keypair.private is corrupted or badly formatted. –  roadmr Jan 14 at 14:36
    
While searching on internet I found this ubuntuforums.org/showthread.php?t=1777348. Do I am facing same problem on inbound connection? i.e. client machine is blocking inbound connection on port 22? –  Ankur Mhatre Jan 15 at 3:12
    
No, since you get "connection established" that's not the problem. –  roadmr Jan 15 at 14:59
    
@roadmr Thanks. According to you connection is OK. I tried on internet and I found that Incorrect RSA1 identifier is normal. because I am using RSA1 and software is suggesting me to use RSA2. Can you help me on debug3: load_hostkeys: loaded 0 keys. What is this? –  Ankur Mhatre Jan 16 at 2:53
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.