Net::OpenSSH::Constants - Constant definitions for Net::OpenSSH
use Net::OpenSSH::Constants qw(:error);
This module exports the following constants:
OSSH_MASTER_FAILED - some error related to the master SSH connection happened OSSH_SLAVE_FAILED - some error related to a slave SSH connection happened OSSH_SLAVE_PIPE_FAILED - unable to create pipe to communicate with slave process OSSH_SLAVE_TIMEOUT - slave process timeout OSSH_SLAVE_CMD_FAILED - child process exited with a non zero status OSSH_SLAVE_SFTP_FAILED - creation of SFTP client failed OSSH_ENCODING_ERROR - some error related to the encoding/decoding of strings happened
Copyright (C) 2008, 2009 by Salvador Fandiño (sfandino@yahoo.com)
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.
To install Net::OpenSSH, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::OpenSSH
CPAN shell
perl -MCPAN -e shell install Net::OpenSSH
For more information on module installation, please visit the detailed CPAN module installation guide.