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!