Andy wrote:
> Hi folks.
> In short:
> Is it possible to route ssh through two modems with two different ISP's
> so that if one ADSL connection goes down, the ssh session stays up?
Yes, it is possible. But there is no really great way to do it. If all
the SSH connections are to the same remote network, a VPN is probably
the best way to do it. When one connection is lost, the VPN will break
but you can connect out to re-establish the VPN. The SSH connections
will only notice a small hiccup.
If you need to connect to a variety of remote machines, one solution
might be a proxy that you install on the machine. SSH in, run the
proxy, SSH to the proxy, and dump the original SSH connection. The
proxy would keep an SSH connection right to itself (the remote
machine), accept and authenticate incoming connections, and copy their
data to and from the SSH connection. On your end, you run the matching
proxy that makes outbound connections. You then SSH to your local proxy
which connects to the remote proxy, like a mini-VPN.
Another way would be to set up a VPN to one well-connected remote site.
You SSH to machine on that remote site over the VPN and SSH out from
there. Make the VPN to the well-connected site "redial" on connection
loss.
DS
|