### Classes and interfaces

# Net_SSH1¶

Pure-PHP implementation of SSHv1.

« More »

### Constants

## $value

    $value

## password authentication

    NET_SSH1_AUTH_PASSWORD

This is the only method that is supported by this library.

## NET_SSH1_AUTH_RHOSTS

    NET_SSH1_AUTH_RHOSTS

## NET_SSH1_AUTH_RHOSTS_RSA

    NET_SSH1_AUTH_RHOSTS_RSA

## pure RSA authentication

    NET_SSH1_AUTH_RSA

## Triple-DES in CBC mode

    NET_SSH1_CIPHER_3DES

All implementations are required to support this

## Blowfish

    NET_SSH1_CIPHER_BLOWFISH

Not supported nor is it defined in the official SSH1 specs. OpenSSH, however, defines it (see cipher.h) and uses it (see cipher.c)

## TRI's Simple Stream encryption CBC

    NET_SSH1_CIPHER_BROKEN_TSS

Not supported nor is it defined in the official SSH1 specs. OpenSSH, however, does define it (see cipher.h), although it doesn't use it (see cipher.c)

## DES in CBC mode

    NET_SSH1_CIPHER_DES

## IDEA in CFB mode

    NET_SSH1_CIPHER_IDEA

Not supported.

## No encryption

    NET_SSH1_CIPHER_NONE

Not supported.

## Returns the message content

    NET_SSH1_LOG_COMPLEX

## Returns the message numbers

    NET_SSH1_LOG_SIMPLE

## NET_SSH1_MASK_CONSTRUCTOR

    NET_SSH1_MASK_CONSTRUCTOR

## NET_SSH1_MASK_LOGIN

    NET_SSH1_MASK_LOGIN

## NET_SSH1_MASK_SHELL

    NET_SSH1_MASK_SHELL

## Returns when a string matching the regular expression $expect is found

    NET_SSH1_READ_REGEX

## Returns when a string matching $expect exactly is found

    NET_SSH1_READ_SIMPLE

## The Response Data

    NET_SSH1_RESPONSE_DATA

see | \global\Net_SSH1::_get_binary_packet()
access | private

## The Response Type

    NET_SSH1_RESPONSE_TYPE

see | \global\Net_SSH1::_get_binary_packet()
access | private

## NET_SSH1_TTY_OP_END

    NET_SSH1_TTY_OP_END