Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^4: REST API with SFTP Pooling

by Sukhster (Novice)
on Nov 16, 2020 at 15:01 UTC ( [id://11123690]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Net::SFTP::Foreign
    my @sftp_opts = ();
    ...
        key_path => $config{'key'},
        more => [ @sftp_options ]
    );
    
  2. or download this
    my @ssh_opts = ();
    push @ssh_opts, "-o";
    ...
    
    my $ssh = Net::OpenSSH->new($config{'host'}, user => $config{'user'}, 
    +port => $config{'port'}, key_path => $config{'key_path'}, ssh_opts =>
    + [ @ssh_opts ]);
    # Returns Invalid or bad combination of options ('ssh_opts')
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-24 18:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found