Dear Salva,
Is there any way I can use Net::SFTP::Foreign (version 1.54) to connect to remote machine and then execute a shell script or any other command on the remote machine.
my $sftp = Net::SFTP::Foreign->new('user@10.21.1.176', password => $pass, open2_cmd => 'mkdir perl_sftp');
- Invalid option 'host' or bad combination of options at sftpCompatEx.pl line 21