Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^3: Net::OpenSSH pass options to ssh

by salva (Canon)
on Mar 19, 2019 at 12:00 UTC ( [id://1231429]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Net::OpenSSH pass options to ssh
in thread Net::OpenSSH pass options to ssh

Net::OpenSSH constructor accepts two different sets of options to be passed to ssh: master_opts and default_ssh_opts.

The first set goes into the ssh call that connects to the remote machine and creates the multiplexing socket.

The second set goes into the ssh calls that are used to run the remote commands (when calling system or capture, for instance). They reuse the connection established by the master ssh process, and so at that point it is usually too late to set most of the options supported by ssh. In practice, using default_ssh_opts is very uncommon.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-04-26 04:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found