Help for this page

Select Code to Download


  1. or download this
    my %args = (
        user     => 'user', 
    ...
                ]
        ],
    );
    
  2. or download this
    eval { $sftp = Net::SFTP->new($host, %args) };
    die "Connection failed: $!\n" if $!;
    die "No SFTP object\n" unless $sftp;
    
  3. or download this
    wolf: Reading configuration data /home/insaniac/.ssh/config
    wolf: Reading configuration data /etc/ssh_config
    ...
    wolf: Authentication methods that can continue: publickey,keyboard-int
    +eractive.
    wolf: Next method to try is publickey.
    Connection failed: No such file or directory