Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

On a local LAN I am unable to connect to my FreeBSD8 server with OpenSSH. I can on the other hand ssh directly by IP address and it works fine.

The server as well as my workstation are behind the same NAT router which is the DNS relay/delegator to my isp. I have my hostname bound to my localhost in /etc/hosts.

Do I need to set up a local nameservice? Id like to rectify this problem.

share|improve this question
up vote 4 down vote accepted

you'll need to put a host entry for the freeBSD8 server on your local machine. i.e. in /etc/hosts add a line <BSD_IP> <BSDNAME> (<BSD_FQDN)>

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.