Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.