Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: ssh controlmaster and expect perl module

by salva (Canon)
on Dec 18, 2015 at 06:36 UTC ( [id://1150669]=note: print w/replies, xml ) Need Help??


in reply to ssh controlmaster and expect perl module

Instead of reinventing the wheel, you could use Net::OpenSSH.
  • Comment on Re: ssh controlmaster and expect perl module

Replies are listed 'Best First'.
Re^2: ssh controlmaster and expect perl module
by i5513 (Pilgrim) on Dec 21, 2015 at 00:07 UTC

    Hello salva,

    Your module have the reply to my question. Using "-o ControlPersist=no" fix the script which fails.

    I see you customize some ssh options which not obey to ~/.ssh/config when use Net::Openssh. But I will give it a try. Sure I can reimplement my scripts with your module.

    I cannot remember why I discarded this module when I started to write autologin script. Sure that it was a bad decision

    Thank you!

Log In?
Username:
Password:

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

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

    No recent polls found