BBB: SSH connection refused

Hello I have run into the problem, I’m unable to SSH to the beaglebone black.

user@linux-vubj:~> ssh 192.168.7.2 -1 root
ssh: connect to host 192.168.7.2 port 22: Connection refused.

Does anybody knows how to resolve this matter.

Thanks,
Andrei

-1 (one) is for ssh to use the (old) version 1 protocol.

-l (L) is what you want.

Try it.

Paulo Ferreira

I have tried with the -l (L) as well, nothing changes, response is the same.

user@linux-vubj:~> ssh 192.168.7.2 -l root
ssh: connect to host 192.168.7.2 port 22: Connection refused.

If you are able to communicate through serial terminal ,use " ifconfig usb0
192.168.72.1" and then try connecting via ssh again .

my bad !! It should be “ifconfig usb0 192.168.7.2”

ifconfig usb0 192.168.7.2 didn’t resolve the porblem.

I also tried to run:
user@linux-vubj: ~ > ssh -vvv root@192.168.7.2
OpenSSH_6.1p1, OpenSSL 1.0.1e 11 feb 2013
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 20: Applying options for *
debug2: ssh_connect: needpriv0
debug1: Connecting to 192.168.7.2 [192.168.7.2] port 22.
debug1: Connect to the address 192.168.7.2 port 22: Connection refused
ssh: Connect to the host 192.168.7.2 port 22: Connection refused