avahi-browse prints human readable output that is confusing

Solution Unverified - Updated -

Issue

  • If you look at the avahi services directory it should be announcing the SSH service.
$ cat /etc/avahi/services/ssh.service 
<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">

<!-- $Id$ -->

--snip--

<!-- See avahi.service(5) for more information about this configuration file -->

<service-group>

  <name replace-wildcards="yes">%h</name>

  <service>
    <type>_ssh._tcp</type>
    <port>22</port>
  </service>

</service-group>
  • However when you do a avahi-browse it doesn't appear as _ssh._tcp it appears like "SSH Remote Terminal"
$ avahi-browse -ta 
+ wlan0 IPv4 host                                          SSH Remote Terminal  local
  • This is confusing as output doesn't match what is in the configuration file.

Environment

  • Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.