Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Apr 2002 23:52:22 -0400 (EDT)
From:      Peter Leftwich <Hostmaster@Video2Video.Com>
To:        "Philip J. Koenig" <pjklist@ekahuna.com>
Cc:        FreeBSD LIST <FreeBSD-Questions@FreeBSD.Org>, Tim Erlin <tim@firstinitiallastname.com>
Subject:   Re: SSH questions
Message-ID:  <20020423235007.G58815-100000@earl-grey.cloud9.net>
In-Reply-To: <20020424033916046.AAA725@empty1.ekahuna.com@pc02.ekahuna.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020423235007.G58815-100000>