Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Net::OpenSSH reconnect master if conn. closed

by perlfan (Vicar)
on Sep 28, 2020 at 01:32 UTC ( [id://11122279]=note: print w/replies, xml ) Need Help??


in reply to Net::OpenSSH reconnect master if conn. closed

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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11122279]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2024-04-19 09:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found