Help for this page

Select Code to Download


  1. or download this
    my ($stdout, $stderr, $exit) = $ssh->cmd('/tmp/b 2>/tmp/b.err');
    # Now read /tmp/b.err from remote system to get STDERR output.
    # Don't forget to delete /tmp/b.err on the remote system when you're d
    +one