Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/perl
- use strict;
- use Net::OpenSSH;
- my $ssh = Net::OpenSSH->new(user => $user, password => $password);
- $ssh->rsync_get({verbose => 1}, $remote_directory, $local_directory)
- or die $ssh->error;
Add Comment
Please, Sign In to add comment