Help for this page

Select Code to Download


  1. or download this
    my $ssh = Net::SSH::Perl->new("host", @key);
    $ssh->login;
    
    my ($out, $err, $exit) = $ssh->cmd("uname -a");
    
  2. or download this
    ./my_ssh_script <<EOT
    passphrase
    EOT