5.1 ssh hang (i have rtfm and googled) long

Raymond Sundland raymond at sundland.com
Mon Jun 23 04:59:07 PDT 2003


Not just that...

When OpenSSH runs in the jail environment, it expects resolv.conf in 
it's own jail... for instance, if the jail is /var/jail, then a copy of 
resolv.conf needs to exist /var/jail/etc/resolv.conf.  Don't ask me why, 
but this should solve your hanging problem.

Of course, the other option is to remove the priveledge seperation 
parameter in /etc/ssh/sshd_config, then ssh will use the standard 
/etc/resolv.conf

Doron Shmaryahu wrote:
> Hi,
> 
> 
> Make sure you have valid nameservers in your /etc/resolv.conf !! That will
> sort your problem out.
> 
> Doron Shmaryahu
> 
> -----Original Message-----
> From: owner-freebsd-questions at freebsd.org
> [mailto:owner-freebsd-questions at freebsd.org] On Behalf Of Benzi Mizrahi
> Sent: 23 June 2003 12:56 PM
> To: Kris Kennaway; jon
> Cc: freebsd-questions at freebsd.org
> Subject: Re: 5.1 ssh hang (i have rtfm and googled) long
> 
> áéåí ùðé, 23 áéåðé 2003, 02:15, Kris Kennaway ëúá:
> 
>>On Sun, Jun 22, 2003 at 12:18:07PM -0700, jon wrote:
>>
>>>generic install of 5.1 release. sshd version
>>>OpenSSH_3.6.1p1. i have /etc/hosts set up . all
>>>systems are "RFC 1597" networks and i do not have a
>>>bind server. every connect takes over a minute to
>>>complete; using passwords.
>>
>>sshd needs to be able to perform forward and reverse DNS queries of
>>the incoming host.  /etc/hosts isn't enough.
>>
> 
> 
> I don't think so...
> 
> 
>>Kris
> 
> 
> _______________________________________________
> 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"
> 
> 
> 
> 
> _______________________________________________
> 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"



More information about the freebsd-questions mailing list