"be consistent" | |
PerlMonks |
Re: Net::OpenSSH reconnect master if conn. closedby perlfan (Vicar) |
on Sep 28, 2020 at 01:32 UTC ( [id://11122279]=note: print w/replies, xml ) | Need Help?? |
I recommend a specialized proxy like autossh that maintains the connection for you. Your local script would connect to the local tunnel; autossh manages the tunnel for you. I am not sure what App::assh gives you other than a "less awkward" interface to autossh, but it's on CPAN nonetheless.
In Section
Seekers of Perl Wisdom
|
|