Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • I'm pretty sure Raspberry Pi OS includes & sets up avahi by default (at least it did when it was called Raspbian). Depending on what you're trying to connect from, you might need to install it (or some other mDNS client) there. On my network, I just use ssh [email protected] ('cause I named mine "pi-0") and it connects me. Commented Jan 30, 2021 at 2:05
  • It would really be great if you could give some guidance on how to do this. I completely agree that this is a great solution, but sadly your answer only hints at how. Commented Jan 30, 2021 at 16:44
  • @terdon Sorry. I would have to look it up: what I remember is that you install, then configure to add the service "desktop" or is it "workstation" (mDNS advertises services not IP addresses, but each service is at an IP address). You can use avahi-discover to see what services are advertised on your network. Then ssh host-name.local to connect, with ssh. Commented Jan 30, 2021 at 17:14