I followed several steps to get an SSH over USB working. I followed the steps posted here.
My Raspberry Pi Zero is connected with a standard micro USB cable to my desktop computer (Ubuntu 16.04). Desktop is running the
avahi-daemon. I used the pi usb port labelled 'data'.
My pi is booted and running.
ifconfig shows the Raspberry pi is connected (enp0s22f2u2i1 Link encap:Ethernet). It also has an inet6 address. SSH to this i6 adress returns a
port 22: network is unreachable. Also
ssh email@example.com as posted in the tutorials gives an error:
ssh: Could not resolve hostname raspberrypi.local: Name or service not known.
I gave the rapsberry pi an IP adress using
ifconfig enp0s22f2u2i1 192.168.1.222. Ubuntu gives me a notification that the device is connected, however I still can't SSH to the Pi (
ssh firstname.lastname@example.org). But this time the error message is different:
ssh: connect to host 192.168.1.222 port 22: Connection refused.
What else can I try to get SSH over USB to my Pi Zero working? Perhaps I do need to adjust the setting for the bonjour service (
avahi-daemon) running on my desktop?