Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jun 2003 07:55:18 -0400
From:      Raymond Sundland <raymond@sundland.com>
To:        Doron Shmaryahu <doron@home.crc.co.za>
Cc:        'Benzi Mizrahi' <vsbenzi@weizmann.ac.il>
Subject:   Re: 5.1 ssh hang (i have rtfm and googled) long
Message-ID:  <3EF6EAA6.8070601@sundland.com>
In-Reply-To: <002001c3397b$c2e1bb80$0801a8c0@dman>
References:  <002001c3397b$c2e1bb80$0801a8c0@dman>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org
> [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Benzi Mizrahi
> Sent: 23 June 2003 12:56 PM
> To: Kris Kennaway; jon
> Cc: freebsd-questions@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> 
> 
> 
> 
> _______________________________________________
> 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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EF6EAA6.8070601>