Help for this page

Select Code to Download


  1. or download this
    use strict;
    use Net::SSH2;
    ...
    print $chan2 "who \n";
    print "LINE : $_" while <$chan2>;
    $ssh2->disconnect();
    
  2. or download this
    Output #
    Connected to host 192.168.xx.xx
    Username/password is correct
    Error --> 0