Persistent SSH sessions

Asif Iqbal vadud3 at gmail.com
Thu Aug 5 01:38:20 EST 2010


On Wed, Aug 4, 2010 at 11:31 AM, Mukund Sivaraman <muks at banu.com> wrote:
> Hi all
>
> Thank you for the replies to my question.
>
> On Mon, Aug 02, 2010 at 02:11:12PM -0700, Iain Morgan wrote:
>> Currently no attempt is made to re-establish a connection once it is
>> broken. If you search the mailing list you will see references to a
>> "roaming" feature which would add that functionality, but it has not yet
>> been committed to a released version of OpenSSH. As it is currently
>> implemented, user interaction is required to re-establish the session,
>> but that may change once the initial code has been committed.
>>
>> >
>> > I want to know if there is any way I can get ssh to try to renegotiate
>> > the active sessions to remote servers, without disconnecting them.
>>
>> The roaming feature will do that, but both the client and server need to
>> support it.
>
> I found the patch in the list archives. This is what I need, but I will
> wait till it is released in a portable release.

I use autossh[1]. so after reboot the connection gets reestablished.
also if the connection
is broken autossh reconnects.

[1] http://www.harding.motd.ca/autossh/

>
>                Mukund
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev at mindrot.org
> https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
>



-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?


More information about the openssh-unix-dev mailing list