Net::SSH::Any::Backend::Net_OpenSSH
Custom options supported by this backend:
Instead of creating a new Net::OpenSSH reuses the one given.
Example:
my $ssh = Net::OpenSSH->new($target, ...); my $assh = Net::SSH::Any->new($target, backend => 'Net_OpenSSH', backend_opts => { Net_OpenSSH => { instance => $ssh } } );
...
To install Net::SSH::Any, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::SSH::Any
CPAN shell
perl -MCPAN -e shell install Net::SSH::Any
For more information on module installation, please visit the detailed CPAN module installation guide.