Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
    print "$_" while <$chan>;
    $chan->close;
    $ssh->disconnect;
    
  2. or download this
    $ ./ssh.pl 
    Password: 
    ...
    - [0] revents 0
    Net::SSH2::Channel::DESTROY
    Net::SSH2::DESTROY object 0x1a055a0