Help for this page

Select Code to Download


  1. or download this
        use strict;
        use warnings;
    ...
        );
        
        my $sftp=Net::SFTP->new($server, %args) or die "could not open con
    +nection to $server\n";
    
  2. or download this
        $>perl sftp_test2.pl
        Reading configuration data path/home/.ssh/config
    ...
        Next method to try is password.
        Next method to try is publickey.
        Permission denied at /app/perl-5.24.3/lib/site_perl/5.24.3/Net/SFT
    +P.pm line 63.
    
  3. or download this
    > sftp -oPort=10022 -oIdentityFile=path/sftp_download user@downloads-s
    +erver
    <br>Connecting to downloads-server...
    <br>sftp>