toohoo has asked for the wisdom of the Perl Monks concerning the following question:
Hello wise Monks
I have an issue with the usage of the package Net-SFTP-Foreign
The error message says:
SSH slave exited unexpectedly with error code 255The script runs on a Ubuntu server. The sftp connection is manually tested from my PC with FileZilla. I try to establish the connection as follows:
$_sftp = Net::SFTP::Foreign->new( host => $ftpuser->{ server }, user => $ftpuser->{ benutzer }, password => $ftpuser->{ pass }, more => [qw(-o 'StrictHostKeyChecking=no')], #~ port => $ftpuser->{ port }, # soll bei SFTP immer 22 + sein );
I would be glad about any hint.
Thanks in advance, Thomas
|
|---|