Avahi Notes

From Noah.org
Revision as of 19:34, 23 October 2012 by Root (Talk | contribs)

Jump to: navigation, search

Monitor Zeroconf advertisements:

avahi-browse -a --resolve


If you want Avahi to publish your SSH service you must create a service config for it. You can usually just copy the example one and use it without editing it.

cp /usr/share/doc/avahi-daemon/examples/ssh.service /etc/avahi/services/.

If that example is not available then the following should work if copied to /etc/avahi/services/ssh.service.

<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
  <name replace-wildcards="yes">%h</name>