From owner-freebsd-questions Wed May 2 10:33: 9 2001 Delivered-To: freebsd-questions@freebsd.org Received: from web10903.mail.yahoo.com (web10903.mail.yahoo.com [216.136.131.39]) by hub.freebsd.org (Postfix) with SMTP id BDF3337B424 for ; Wed, 2 May 2001 10:33:05 -0700 (PDT) (envelope-from yh2789@yahoo.com) Message-ID: <20010502173305.91029.qmail@web10903.mail.yahoo.com> Received: from [12.43.109.192] by web10903.mail.yahoo.com; Wed, 02 May 2001 10:33:05 PDT Date: Wed, 2 May 2001 10:33:05 -0700 (PDT) From: Bill Hickum Subject: Re: SSH hesitation after hostmane change STILL To: freebsd-questions@freebsd.org In-Reply-To: <20010502192222.P91358@everest.wananchi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > Please go into /etc/ssh/ and delete any file ending > with *key and *.pub > and reboot. It will generate new host keys > associated with the new name, > which i hope is already set in hostname="whatever" > in rc.conf > After that let us know if the behaviour is still the > same. > Sounds like you would like the details. Yes, I changed the hostname in rc.conf and did this thing I saw to do in the book: hostname -s new.host.name (whatever that's for). 2 weeks ago when I first changed the hostname, and the hesitation began, I guessed that letting it rebuild the key and .pub files might fix this but it didn't. I know I did it correctly because I didn't rm them I mvd them to a subdirectory and they're still there. I just followed your advice and rmd them and rebooted. THE first time I logged in from a remote machine with ssh it was instantaneous. Because I had moved the key and .pub files before with no luck I was suspicious. This suspicion led to my logging off and on a few more times. The hesitation is back. It was only fast the first time after rm-ing the files. I tried it again but it was slow from the get-go. Every logon now is slow again. __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message