From owner-freebsd-questions Tue Apr 23 20:52:47 2002 Delivered-To: freebsd-questions@freebsd.org Received: from russian-caravan.cloud9.net (russian-caravan.cloud9.net [168.100.1.4]) by hub.freebsd.org (Postfix) with ESMTP id F2FF737B41E for ; Tue, 23 Apr 2002 20:52:22 -0700 (PDT) Received: from earl-grey.cloud9.net (earl-grey.cloud9.net [168.100.1.1]) by russian-caravan.cloud9.net (Postfix) with ESMTP id 53F0F28BDF; Tue, 23 Apr 2002 23:52:22 -0400 (EDT) Date: Tue, 23 Apr 2002 23:52:22 -0400 (EDT) From: Peter Leftwich X-X-Sender: To: "Philip J. Koenig" Cc: FreeBSD LIST , Tim Erlin Subject: Re: SSH questions In-Reply-To: <20020424033916046.AAA725@empty1.ekahuna.com@pc02.ekahuna.com> Message-ID: <20020423235007.G58815-100000@earl-grey.cloud9.net> Organization: Video2Video Services - http://Www.Video2Video.Com 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 On Tue, 23 Apr 2002, Philip J. Koenig wrote: > On 23 Apr 2002, at 7:53, Tim Erlin boldly uttered: > > You can run ssh with -v and get some good debug output. Might be useful. --Tim > Indeed it may be. Here's what I see when the session disconnects: I use the command `ssh -l username -C domain.net` but find the -v flag interesting... does ssh report the verbose stuff when the user "ends" the ssh session (hits Ctrl-D at the remote site)? > $ Read from remote host host.example.com: Connection reset by peer > Connection to host.example.com closed. > debug: Transferred: stdin 0, stdout 29815, stderr 128 bytes in 861.7 seconds > debug: Bytes per second: stdin 0.0, stdout 34.6, stderr 0.1 > debug: Exit status -1 > > So I get a couple of things. The session lasted about 14 mins (maybe there's a 10 min idle timer?), the Connection reset by peer message, and the "Exit status -1". Does this tell us much? > Philip J. Koenig pjklist@ekahuna.com > Electric Kahuna Systems -- Computers & Communications for the New Millenium A lot of commercial ISPs with unix logins have idle timers that kick you off. You may be able to get away with a shell script that types a "." every 1 minute to prevent getting kicked. -- Peter Leftwich President & Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message