Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
#!/usr/bin/perl use Net::SSH qw(ssh issh sshopen2 sshopen3); ssh_cmd ({ user => 'root', host => '192.168.1.2', command => "chmod 777 /var/named/zzz.z", args => ["-i /root/.ssh/thispc-ssh-key", "-P 33"], stdin_string => "string\n", });
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Run Remote Command Via SSH
by Sandy (Curate) on Nov 06, 2012 at 00:44 UTC | |
by Lotus1 (Vicar) on Nov 06, 2012 at 03:42 UTC | |
|
Re: Run Remote Command Via SSH
by salva (Canon) on Nov 06, 2012 at 09:11 UTC |