Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Aug 2005 05:54:14 -0700
From:      "J. Johnston" <jeremy@stormy.smart-serv.net>
To:        Simon Morgan <sjmorgan@gmail.com>
Cc:        FreeBSD mailinglist <freebsd-questions@freebsd.org>
Subject:   Re: cannot ssh to machine on lan when it has no internet connection
Message-ID:  <430F10F6.5040905@stormy.smart-serv.net>
In-Reply-To: <de63970c0508260255112d9ca9@mail.gmail.com>
References:  <de63970c05082502513e1a868b@mail.gmail.com>	<430DC324.6030708@thegeekzone.com> <de63970c0508260255112d9ca9@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Simon Morgan wrote:

>On 8/25/05, Ben Pratt <ben@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@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@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@smart-serv.net
Phone: 1-250-402-6634 Ext. 201
Cell: 1-250-402-9583 | 2504029583@msg.telus.com (150 Characters max)
Fax: 1-250-402-6634
Toll Free: 1-866-702-2904




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?430F10F6.5040905>