Date: Wed, 17 Jul 2002 18:45:01 +0400 (MSD) From: Andrey Alekseyev <uitm@zenon.net> To: Chris Johnson <cjohnson@palomine.net> Cc: Tai-hwa Liang <avatar@www.mmlab.cse.yzu.edu.tw>, freebsd-stable@FreeBSD.org Subject: Re: slow ssh connection speed(bind problem?) Message-ID: <200207171445.g6HEj1J35604@uitm.zenon.net> In-Reply-To: <20020717143012.GA19247@palomine.net> from Chris Johnson at "Jul 17, 2002 10:30:12 am"
next in thread | previous in thread | raw e-mail | index | archive | help
Copying resolv.conf (and probably login.conf) into /var/empty/etc is not so unnecessary anyway, because of sshd-net process trying to resolve ip address of a client. Without resolv.conf there you get errors on resolving ip to name -- just perform the following: mkdir -p /var/empty/var/run ln /var/run/log /var/empty/var/run/log and turn on debug logging for sshd > One solution I've found is this: > > # chflags noschg /var/empty > # mkdir /var/empty/etc > # cp /etc/resolv.conf /var/empty/etc > # chflags schg /var/empty > > I don't know if there are security (or any other) implications to this, but it > fixes the problem in any case. > > Chris Johnson [application/pgp-signature is not supported, skipping...] -- Andrey Alekseyev. Zenon N.S.P. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207171445.g6HEj1J35604>