Re: Port Forwarding over Unreliable Connections

From: Nico Kadel-Garcia (nkadel_at_comcast.net)
Date: 11/22/05


Date: Mon, 21 Nov 2005 21:34:36 -0500


"Gregory Novak" <novak@ucolick.org> wrote in message
news:m2psotzh31.fsf@euterpe.local...
>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.

The "screen" program is your friend, at least for terminal sessions and the
programs started from them. That will allow you to reconnect to an
interrupted session, although X programs may not work well if their X-server
connection is lost.



Relevant Pages

  • port forwarding source address
    ... The SSH encrypted connection itself can be bound to a specific IP address ... Port forwarding can bind to a specific address on the listening host, ...
    (comp.security.ssh)
  • Re: Load estimation - SSH on HP-UX
    ... > perform port forwarding only. ... Run one SSH session per forwarded connection. ... One a single SSH session with a large number of forwarded connections. ... B1) There's a sanity-check limit of the number of port forwards of 100 ...
    (comp.security.ssh)
  • Re: openssh version
    ... > My solution is to use the ports version. ... forwarded TCP connection takes a while to connect. ... If you're using forwarding ... connecting to a server with high latency, and on a client-driven protocol, ...
    (FreeBSD-Security)
  • Re: openssh version
    ... >I've run into a related problem with SSH forwarding that occurs when a ... >forwarded TCP connection takes a while to connect. ... If you're using forwarding ...
    (FreeBSD-Security)
  • Re: Properties for ADSL connection and port forwarding
    ... with regard to port forwarding are you talking about forwarding from a adsl ... personally i dont like using the sbs to set up my router.. ... > Ive installed sbs2k3 and configured the ADSL connection ...
    (microsoft.public.windows.server.sbs)