Help for this page

Select Code to Download


  1. or download this
    Creating ssh object... done
    Logging into server... done
    Running command (df)... done
    Use of uninitialized value $stdout in concatenation (.) or string at p
    +erlscript.pl line 28.
    
  2. or download this
    #!/usr/bin/env perl -w
    
    ...
    print "$stdout\n";
    
    $ssh->cmd("exit");
    
  3. or download this
    Use of uninitialized value $stdout in concatenation (.) or string at p
    +erlscript.pl line 28.
    
    ...
    server-01: channel 2: send close
    server-01: channel 2: full closed
    [root@server-01 Name]#