---
name: "Net::OpenSSH::Constants"
section: "3pm"
platform: "linux"
package: "perl-net-openssh"
version: "0.84-5"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/Net::OpenSSH::Constants"
---

# Net::OpenSSH::Constants(3pm)

Constant definitions for Net::OpenSSH

## NAME

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

## SYNOPSIS

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

## DESCRIPTION

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 AND LICENSE

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.
