persistent ssh connections

Richard Pieri richard.pieri-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Fri Jan 22 16:22:36 EST 2010


On Jan 22, 2010, at 3:35 PM, Tom Metro wrote:
> 
> Ideally I'd like a setup where the VPN can be disrupted, and restored, 
> without causing ssh to reconnect. Because ssh uses TCP, I don't think 
> thats possible. At best you can turn off (leave off) the ssh keep-alive 
> features and hope no packets get sent during the VPN outage, which lead 
> to a timeout or other packet error that causes OpenSSH to terminate the 
> connection.

It's entirely possible.  OpenBSD has had TCP/IP state sharing for years, and that code has been ported over to FreeBSD (Nokia uses that port in IPSO).

--Rich P.







More information about the Discuss mailing list