cannot ssh to machine on lan when it has no internet connection
J. Johnston
jeremy at stormy.smart-serv.net
Fri Aug 26 12:55:03 GMT 2005
Simon Morgan wrote:
>On 8/25/05, Ben Pratt <ben at thegeekzone.com> wrote:
>
>
>>I'm not sure if this will work or not but try setting up /etc/hosts to
>>reflect your LAN. I had a friend who had issues when, even though he was
>>connected to the Internet, he had DNS messed up on his FreeBSD system.
>>I'm thinking the SSH server is trying to do some DNS lookups and if you
>>set your hosts file to have the information about the client machine
>>that may be resolved.
>>
>>
>
>Just to let you know I tried your suggestion and unfortunately it didn't work.
>_______________________________________________
>freebsd-questions at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
>
>
You could set the UseDNS option in /etc/ssh/sshd_config to no. I found
this helps when there is no available DNS servers.
--
Jeremy Johnston (President / Developer)
SmartServ Hosting
Email: jeremy at smart-serv.net
Phone: 1-250-402-6634 Ext. 201
Cell: 1-250-402-9583 | 2504029583 at msg.telus.com (150 Characters max)
Fax: 1-250-402-6634
Toll Free: 1-866-702-2904
More information about the freebsd-questions
mailing list