On 2020-02-15 04:56 PM, Dave Howorth wrote:
I feel that name resolution is getting more and more complicated, to what end I'm not sure. But it's got to the point I no longer understand it, so I'm hoping somebody can explain.
$ ping emonpi PING emonpi.fritz.box (192.168.1.24) 56(84) bytes of data. 64 bytes from emonpi.fritz.box (192.168.1.24): icmp_seq=1 ttl=64 time=0.859 ms 64 bytes from emonpi.fritz.box (192.168.1.24): icmp_seq=2 ttl=64 time=0.663 ms ^C $ ssh pi@emonpi ssh: connect to host emonpi port 22: No route to host $ ssh pi@192.168.1.24 pi@192.168.1.24's password: Linux emonpi 4.14.71-v7+ #1145 SMP Fri Sep 21 15:38:35 BST 2018 armv7l
How come I can ping a named host but not connect to it using ssh?
Fire up Wireshark and see what's happening. Specifically, look at the destination MAC of the ssh packets, to ensure it matches the device you're trying to reach. If it's the MAC for your router, then for some reason your computer thinks it's off net. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org