I'm trying to connect to several computers via their hostnames since they get their IP via DHCP. I can successfully ping the machines via ping host-01.local
.
ping
, wget
, avahi-resolve
and even Firefox all send out the required mDNS packages, which I checked throug Wireshark (UDP on port 5353).
However ssh
doesn't seem to try to resolve the adresses at all. There are no mDNS queries issued and the output for ssh host-01.local
just says:
ssh: Could not resolve hostname host-01.local: Device or resource busy
For ssh -vvv host-01.local
it is:
OpenSSH_7.6p1 Ubuntu-4ubuntu0.3, OpenSSL 1.0.2n 7 Dec 2017
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: Applying options for *
debug2: resolving "host-01.local" port 22
ssh: Could not resolve hostname host-01.local: Device or resource busy
The client is running Linux Mint. The network I'm in doesn't seem to matter. Everything else related to avahi
seems to work just fine.
ssh -vvv host-01.local
to see what's happening?~/.ssh/config
file. Also does theping
command return you the correct address of the server you are trying to ssh to?ping
command returns the correct address, as does theavahi-resolve
command.