Re: ssh connection
From: David Efflandt (efflandt_at_xnet.com)
Date: 10/07/03
- Next message: GeekWiz: "Re: New to Linux, but which one?"
- Previous message: pbs: "Re: Linux and Zonealarm"
- In reply to: Raymond Hall: "ssh connection"
- Next in thread: Michael Heiming: "Re: ssh connection"
- Reply: Michael Heiming: "Re: ssh connection"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 7 Oct 2003 01:51:32 +0000 (UTC)
On Mon, 6 Oct 2003 14:46:17 -0700, Raymond Hall <hallr@mmsi.com> wrote:
> Wonder if anyone knows of a way to keep an ssh connection alive. Our setup:
>
> Machine A connects over the internet to our ssh server in the DMZ. Once
> that connection is established, we tunnel back through from machine B.
>
> I'd like to know the best way to keep that initial connection from Machine A
> alive....a ping from a cron? Anyone?
Maybe 'KeepAlive yes' in your ~/.ssh/config. However, if you have a shell
that disconnects you during inactivity or some firewall/NAT freeing up
inactive ports, that could be a problem. One broadband gateway in
particular that closes inactive ssh sessions is Dlink DI-604 (although, it
was never a problem for my DI-704).
I sometimes forget to disconnect from my Solaris ISP overnight, and it
still works in the morning, unless my dynamic adsl has reconnected with a
different IP.
-- David Efflandt - All spam ignored http://www.de-srv.com/ http://www.autox.chicago.il.us/ http://www.berniesfloral.net/ http://cgi-help.virtualave.net/ http://hammer.prohosting.com/~cgi-wiz/
- Next message: GeekWiz: "Re: New to Linux, but which one?"
- Previous message: pbs: "Re: Linux and Zonealarm"
- In reply to: Raymond Hall: "ssh connection"
- Next in thread: Michael Heiming: "Re: ssh connection"
- Reply: Michael Heiming: "Re: ssh connection"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|