cannot SSH to BBB via LINUX terminal

I’m trying to SSH to my BBB board via LINUX (UBUNTU 17.04 distro) terminal using a command ssh -v 192.168.7.2 with no luck.
I always get the same error:

OpenSSH_7.4p1 Ubuntu-10, OpenSSL 1.0.2g 1 Mar 2016
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to 192.168.7.2 [192.168.7.2] port 22.
debug1: Connection established.
debug1: identity file /home/simon/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /home/simon/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/simon/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/simon/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/simon/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/simon/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/simon/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/simon/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.4p1 Ubuntu-10
ssh_exchange_identification: read: Connection reset by peer

please give me some advice on this issue.
Thank you in advance! :slight_smile:

Hello,

I usually just use ssh <my_name>@192.168.7.2. For instance, while in root, type ssh debian@192.168.7.2 if your name is debian and if you are using the Debian Distro. This may work.

Seth

P.S. If it does not work, let me know. We can make sure you have sudo installed.

Try

ssh debian@192.168.7.2

password: temppwd

I tried ssh -v debian@192.168.7.2 and I still get this error.

P.S. first time i tried that code i got i different message:
ssh_exchange_identification: Connection closed by remote host

OpenSSH_7.4p1 Ubuntu-10, OpenSSL 1.0.2g 1 Mar 2016
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug1: Connecting to 192.168.7.2 [192.168.7.2] port 22.
debug1: Connection established.
debug1: identity file /home/simon/.ssh/id_rsa type 1
debug1: key_load_public: No such file or directory
debug1: identity file /home/simon/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/simon/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/simon/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/simon/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/simon/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/simon/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /home/simon/.ssh/id_ed25519-cert type -1
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_7.4p1 Ubuntu-10
ssh_exchange_identification: read: Connection reset by peer

Connection got reset. What image are you trying to run?

Regards,