Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how to avoid disconnection from remote login

0 views
Skip to first unread message

Dhirendra Singh

unread,
Feb 29, 2008, 12:12:28 AM2/29/08
to
I am using telnet/rlogin/ssh to login to a remote machine.
if connection is idle for sometime remote machine disconnect the
connection and i have to login again.
is there anyway to avoid this disconnection ?

Pat Welch

unread,
Feb 29, 2008, 7:18:42 AM2/29/08
to

Your telnet/SSH client should have a setting to send a NO-OP every
minute or so to keep the session open.

Beyond that, you'll have to tell us which version of Unix/Linux/BSD etc.
the servers are using to give you server settings to change.

--
----------------------------------------------------
Pat Welch, UBB Computer Services, a WCS Affiliate
SCO Authorized Partner
Microlite BackupEdge Certified Reseller
Unix/Linux/Windows/Hardware Sales/Support
(209) 745-1401 Cell: (209) 251-9120
E-mail: pat...@inreach.com
----------------------------------------------------

Dhirendra Singh

unread,
Mar 1, 2008, 5:01:40 PM3/1/08
to
Is there any option in ssh to send no-op to remote machine ?
I went through the man page but did not find any thing interesting.
Unix version is HP-UX B.11.23 U ia64

Thanks,
Dhirendra.

Pat Welch

unread,
Mar 1, 2008, 8:56:22 PM3/1/08
to

I'm not familiar with that version of HP-UX, the last one I actively
worked on was 9.0.

But what are you using to access the Unix system? If it's a window or
linux terminal emulator program like SCRT, Tiny Term, Anzio, PowerTerm
etc. There may be a NO-OP option in their respective setups.

Claudio

unread,
Mar 5, 2008, 3:32:14 PM3/5/08
to
On 2008-02-29, Dhirendra Singh <dhire...@gmail.com> wrote:
> is there anyway to avoid this disconnection ?

try:

unset TMOUT

0 new messages