I understand that one can use FILE::REMOTE for SSH and SCP sessions. However I don't see how to apply the login password or the userID in the examples. Am I misreading the intent of the module?
secure copy of SSH requires a password, or am I missing something?
Oh yes, I tried to install Net::SSH::Perl, but I won't be able to use that module. Please stick to this module.
Thanks
Mike
Code:
use File::Remote; my $secure = File::Remote->new(rsh => '/usr/local/bin/ssh', rcp => '/usr/local/bin/scp', tmp => '/var/run'); $secure->copy($src, $dest);
Oh yes, I tried to install Net::SSH::Perl, but I won't be able to use that module. Please stick to this module.
Thanks
Mike
Comment