Re: making ssh connections persistent
- From: Eric De Mund <ead-debian-user@xxxxxxxxx>
- Date: Wed, 22 Oct 2008 14:51:26 -0700
Raju,
Kamaraju S Kusumanchi <raju.mailinglists@xxxxxxxxx>:
] I often use ssh to access other computers at school. However, I can't
] make these connections persistent. If there is no activity (say in 20
] minutes), the ssh connection just freezes up. As a result, I have to
] kill all the gvim, xterm windows opened from that terminal. This is
] very annoying if I am coding something.
]
] Is it possible to make ssh connections which do not freeze even if
] there is no activity for a while?
As others have suggested, put this in the $HOME/.ssh/config file on
your local machine:
ServerAliveInterval 60
Also, use screen(1) for terminal (xterm/rxvt) work once you've logged
in to the remote machine. That way, even your connection is dropped, you
can resume the screen(1) session right where you left off.
This email was composed on my ISP which I am ssh'ed in to from a screen
session on my home system. Which, in turn, I've ssh'ed in to from work.
If my work->home connection dies, I simply reconnect to home via ssh,
then resume my screen session. When I resume the screen session, voila,
my open emacs program up at my ISP, for example, is presented to me.
screen(1) is old, but it's a killer app.
Regards,
Eric
--
Eric De Mund | Ixian Systems | Jab: eadixian@xxxxxxxxxx/main
ead@xxxxxxxxx | 650 Castro St, #120-210 | Y!M: ead0002
ixian.com/ead/ | Mountain View, CA 94041 | ICQ: 811788
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- Follow-Ups:
- Re: making ssh connections persistent
- From: Kamaraju S Kusumanchi
- Re: making ssh connections persistent
- From: Kamaraju S Kusumanchi
- Re: making ssh connections persistent
- References:
- making ssh connections persistent
- From: Kamaraju S Kusumanchi
- making ssh connections persistent
- Prev by Date: Re: Catch-all mail server for test environment
- Next by Date: Re: Sleek and slim Gnome?
- Previous by thread: Re: making ssh connections persistent
- Next by thread: Re: making ssh connections persistent
- Index(es):
Relevant Pages
|