Forum Discussion
Try to add some -v's to get more verbose debug output:
ssh -vvv -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@192.168.0.21
You can also see if you get any response from the server using telnet or netcat: nc 192.168.0.21 22
You should see something like: SSH-2.0-OpenSSH_7.5p1-hpn14v12 depending upon the ssh version you hav running on your board.Hello , i am facing same error.On entering the command :
ssh -vvv -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@192.168.1.10
OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014
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.10 [192.168.1.10] port 22.
debug1: Connection established.
debug3: Incorrect RSA1 identifier
debug3: Could not load "/home/bmit/.ssh/id_rsa" as a RSA1 public key
debug1: identity file /home/bmit/.ssh/id_rsa type 1
debug1: identity file /home/bmit/.ssh/id_rsa-cert type -1
debug3: Incorrect RSA1 identifier
debug3: Could not load "/home/bmit/.ssh/id_dsa" as a RSA1 public key
debug1: identity file /home/bmit/.ssh/id_dsa type 2
debug1: identity file /home/bmit/.ssh/id_dsa-cert type -1
debug3: Incorrect RSA1 identifier
debug3: Could not load "/home/bmit/.ssh/id_ecdsa" as a RSA1 public key
debug1: identity file /home/bmit/.ssh/id_ecdsa type 3
debug1: identity file /home/bmit/.ssh/id_ecdsa-cert type -1
debug1: identity file /home/bmit/.ssh/id_ed25519 type -1
debug1: identity file /home/bmit/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.13
debug1: Remote protocol version 2.0, remote software version OpenSSH_7.8
debug1: match: OpenSSH_7.8 pat OpenSSH* compat 0x04000000
debug2: fd 3 setting O_NONBLOCK
debug3: load_hostkeys: loading entries for host "192.168.1.10" from file "/dev/null"
debug3: load_hostkeys: loaded 0 keys
debug1: SSH2_MSG_KEXINIT sent
and it hangs after this command.
Also by entering : nc 192.168.1.10 22 , the terminal shows following output.
SSH-2.0-OpenSSH_7.8
Could you help with above query?
Thanks,
Priya