When I do the same thing with my Windows desktop with PuTTY, everything's fine. However, my Ubuntu laptop can't seem to find it. It always replies with
no route to host. I also tried it with a USB 3.0 to ethernet adapter, but the result hasn't changed.
Have you tried this?: https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=138631 ... at page 4 i found solution. Therefore my problem was little bit different i have SSH via ethernet but not via WiFi dongle. Still hope editing /etc/ssh/sshd_config...with the line "IPQoS cs0 cs0" helps you.
This works for me (Ubuntu 17.10).
- Find out the name of your Ethernet connection.
The name is
- Change the IP address to the same subnet as the Raspberry. So if your Pi has the address 192.168.20.30 you might use
$ ifconfig enp0s25 192.168.20.31 netmask 255.255.255.0
Turns out I have to set the wired connection settings to link-local in order to do it.
Can't believe it took me this long.
One thing to note: if you don't have a static IP, run an
# arp-scan to the interface your Pi is connected to.