Port Forwarding over Unreliable Connections
From: Gregory Novak (novak_at_ucolick.org)
Date: 11/22/05
- Next message: Todd H.: "Re: Port Forwarding over Unreliable Connections"
- Previous message: Darren Tucker: "Re: AIX 5.3 LDAP PAM PrivilegeSeperation"
- Next in thread: Todd H.: "Re: Port Forwarding over Unreliable Connections"
- Reply: Todd H.: "Re: Port Forwarding over Unreliable Connections"
- Reply: Nico Kadel-Garcia: "Re: Port Forwarding over Unreliable Connections"
- Reply: Per Hedeland: "Re: Port Forwarding over Unreliable Connections"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 21 Nov 2005 16:01:06 -0800
I make extensive use of ssh port forwarding to access machines behind
firewalls, etc. I often run programs that require presistent
connections over these ports (such as X11 programs). Unfortunately my
home DSL connection has become unreliable lately, going down for a few
minutes and then coming back. This often has the effect of killing
the programs that rely on the forwarded connections.
I would much prefer it if the forwarded connections behaved more like
plain vanilla TCP connections--if the network goes down, they should
patiently wait a long time before finally snipping the connection.
Ideally, this would even include starting a new ssh process to handle
the port forwarding. My understanding of ssh port forwarding is that
ssh simply catches the TCP packets at one end, shoots them over the
secure connection, and allows them to pop out at the other end.
Therefore it doesn't seem like it would be impossible to, for example,
1) start an xterm on a remote machine, forwarding the X11 connection
over the SSH connection so that its window pops up on the local
machine.
2) Kill the SSH process.
3) Start a new SSH process, forwarding the same ports that were
forwarded by the first SSH process
4) Happily use the Xterm as though nothing happened.
In my experience, the Xterm always dies in this situation. It's very
possible that my understanding is flawed and that things are not so
simple, but at the moment I don't see the problem with the above.
The question, then, is "How do I do this, either with SSH or other
software that uses SSH (since SSH is the only way through the
firewalls in question)?"
Thank you,
Greg
- Next message: Todd H.: "Re: Port Forwarding over Unreliable Connections"
- Previous message: Darren Tucker: "Re: AIX 5.3 LDAP PAM PrivilegeSeperation"
- Next in thread: Todd H.: "Re: Port Forwarding over Unreliable Connections"
- Reply: Todd H.: "Re: Port Forwarding over Unreliable Connections"
- Reply: Nico Kadel-Garcia: "Re: Port Forwarding over Unreliable Connections"
- Reply: Per Hedeland: "Re: Port Forwarding over Unreliable Connections"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|