From owner-freebsd-questions Tue Dec 18 13:55:27 2001 Delivered-To: freebsd-questions@freebsd.org Received: from turtle.looksharp.net (cc360882-d.strhg1.mi.home.com [24.13.43.207]) by hub.freebsd.org (Postfix) with ESMTP id 7443537B419; Tue, 18 Dec 2001 13:54:59 -0800 (PST) Received: by turtle.looksharp.net (Postfix, from userid 1003) id 11DAF3ED7; Tue, 18 Dec 2001 16:56:43 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by turtle.looksharp.net (Postfix) with ESMTP id 0CD09BAA7; Tue, 18 Dec 2001 16:56:43 -0500 (EST) Date: Tue, 18 Dec 2001 16:56:42 -0500 (EST) From: "Brandon D. Valentine" To: Holt Grendal Cc: , Subject: Re: Hung SSH2 Logins In-Reply-To: <20011218140503.94565.qmail@web11602.mail.yahoo.com> Message-ID: <20011218165351.Q9162-100000@turtle.looksharp.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG [Redirected to -questions; please reply there] On Tue, 18 Dec 2001, Holt Grendal wrote: >Hi, > >After switching to support SSH2 on all of our public >access servers we began to see things like this >show up in 'w' output: > >user1 p1 hostname1 8:53AM 2 - >user2 p2 hostname2 6:50AM 1:36 - > >So far i've reached the conclusion that those users >use SecureCRT as their SSH2 client and when you press >disconnect or simply close SecureCRT it leaves a dead >login like that. > >It doesn't leave SSH running or anything like that but >it doesn't seem to close the login entry in >/var/log/wtmp (i think it is?) > >When someone goes to login in they simply re-use that >same PTY and it goes away. > >I was wondering if this is a problem in OpenSSH or the >way SecureCRT does its disconnecting? > >This problem did not occur with SSH1. > >Any ideas? What happens if you users type "exit" from the shell instead of just dropping the connection? Sounds to me like you have a user education issue coupled with the fact that SecureCRT probably doesn't disconnect cleanly on its own. Brandon D. Valentine -- "Iam mens praetrepidans avet vagari." - G. Valerius Catullus, Carmina, XLVI To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message