(Note the “–” before set is two dashes next to each other) You can simply run scutil to rename the machine to match the Mac hostname in terminal as noted in the Sharing Preference pane.Please do this for all machines that exhibit this issue. HostName is also normally the name that is registered to DNS servers and AD/LDAP directories, but those directories may use even other aliases to refer to this computer.Ī. This is the name normally displayed as a prefix to command lines in the OS X Terminal. # The name associated with hostname and gethostname commands. This name will be displayed below the Computer Name in OS X Preferences -> Sharing. # The local (Bonjour) host name this is used in the form of LocalHostName.local to access the Macintosh via Apple's Bonjour networking. This is normally what is displayed in OS X Preferences -> Sharing, "Computer Name". Verify the computer name and hostname by opening terminal and by opening sytem preference>sharing>computer name