I have a raspberry announcing it's hostname with avahi-daemon for several services. However, even if I receive this at PCs over my network I cannot ssh it.
$ avahi-browse -at | grep -i ssh + wlp3s0 IPv4 raspi SSH Remote Terminal local + wlp3s0 IPv4 arch SSH Remote Terminal local $ ssh email@example.com ssh: Could not resolve hostname raspi.local: Name or service not known $ ssh pi@raspi ssh: Could not resolve hostname raspi: Name or service not known
I've tryed changing the
host line at
/etc/nsswitch.conf and some params at
avahi-discover shows perfectly it's IPv4 and IPv6, but when I get my machine known hosts all I get is my own machine
$ getent hosts 127.0.0.1 localhost.localdomain localhost arch 127.0.0.1 localhost.localdomain localhost arch
I've also tryed setting the IP to static at
/etc/network/interfaces or trying to announce the hostname from dhclient.conf setting
send host-name = "raspberry.pi"; with the same luck.
Also there's no iptables service running or any other firewall.