in reply to SSH Keyer for passwordless logins.
use Net::OpenSSH; my $ssh = Net::OpenSSH->new($hostname, user => $username, password => +$password); $ssh->error and die "unable to connect: " . $ssh->error; $ssh->rsync_put(@local_files, $remote_dir);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: SSH Keyer for passwordless logins.
by Sir mXe (Acolyte) on May 26, 2011 at 21:07 UTC |