southoz/RetroOZ

ZeroConf/Bonjour/mDNS Support

Opened this issue · 1 comments

From docwhat - https://forum.odroid.com/viewtopic.php?p=334085#p334085

Another OS tidbit. If you use ZeroConf/Bonjour/mDNS on your network, then advertising the devices ssh service is easy. Just drop this in /etc/avahi/services/ssh.service:
CODE: SELECT ALL

%h _ssh._tcp 22 After restarting avahi (systemctl restart avahi) you can use things like your Mac to find your device automatically.

With formatting:

Another OS tidbit. If you use ZeroConf/Bonjour/mDNS on your network, then advertising the devices ssh service is easy. Just drop this in /etc/avahi/services/ssh.service:

<?xml version="1.0" standalone='no'?>
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">

<service-group>
  <name replace-wildcards="yes">%h</name>
  <service>
    <type>_ssh._tcp</type>
    <port>22</port>
  </service>
</service-group>

After restarting avahi (systemctl restart avahi) you can use things like your Mac to find your device automatically.