DOKK / manpages / debian 12 / libnet-openssh-perl / Net::OpenSSH::Constants.3pm.en
Net::OpenSSH::Constants(3pm) User Contributed Perl Documentation Net::OpenSSH::Constants(3pm)

Net::OpenSSH::Constants - Constant definitions for Net::OpenSSH

  use Net::OpenSSH::Constants qw(:error);

This module exports the following constants:

:error
  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.

2023-02-04 perl v5.36.0