OpenSSH with "resumable" functionality

Andreas Gunnarsson andreas at zzlevo.net
Wed Jun 16 04:30:29 EST 2010


On Tue, Jun 15, 2010 at 12:09:56PM -0600, Jeremy Nickurak wrote:
> The use case I'm thinking of is SSH on a mobile device, say a netbook
> or phone, where you're moving ad-hoc between different wired and/or
> wireless networks, getting a different IP every time.
> 
> I'd suggest that a robust solution should probably work even when the
> TCP connection is lost for any reason (with the possible exception of
> an explicit close).

It does work when the connection is lost, and both sides will resend any
data that wasn't processed by the peer. The only requirement is that the
ssh client and server processes are still running.

However, there may be circumstances when it's better to actively suspend
the connection. For example, if the default route moves to another
interface it could take some time before it is possible to detect that
the TCP session is dead.

/Andreas


More information about the openssh-unix-dev mailing list