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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Benzi Mizrahi
Sent: 23 June 2003 12:56 PM
To: Kris Kennaway; jon
Cc: [EMAIL PROTECTED]
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


_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"




_______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

_______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to