Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I installed Putty on my Windows laptop I could SSH to my Linux server by using that computer's host name. On my Mac, I had to use the IP address. Any idea how Windows did name resolution when the Mac didn't?

When I did a SSH from the Linux box to the Mac, I had to do name.local, if that plays any part.

share|improve this question

Assuming the Linux server is on your local network (and i'm guessing it is due to the name.local reference), you might need to change a few things in the Mac's network settings:

  1. Go to Apple menu > System Preferences > Network

  2. Highlight the connection you're using (Wi-Fi or Ethernet) and click 'Advanced...' in the lower right

  3. Go to the DNS tab

  4. Confirm that your DNS Servers and (if applicable) Search Domains options are set up correctly — maybe compare to Windows's IP settings

  5. For a Linux server (and for just resolving DNS) this probably doesn't matter, but just in case, check the WINS tab as well. You generally want to be in the same work group as your other machines

share|improve this answer

If both hosts use the same DNS, you have something added to hosts file, and miss this on the Mac.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.