Help for this page

Select Code to Download


  1. or download this
    #!d:/perl -w
    use strict;
    ...
    ($out, $err, $exit) = $ssh->cmd("$cmd");
    print $out. $err. $exit."\n";
    close $ssh;
    
  2. or download this
    computername: Reading configuration data /.ssh/config
    computername: Reading configuration data /etc/ssh_config
    ...
    computername: Sending command: echo dir
    computername: Requesting service exec on channel 1.
    computername: channel 1: open confirm rwindow 100000 rmax 16384