Exceptions

Exceptions raised by parallel-ssh classes.

exceptionpssh.exceptions.AuthenticationError

Raised on authentication error (user/password/ssh key error)

pssh.exceptions.AuthenticationException

alias ofAuthenticationError

exceptionpssh.exceptions.HostArgumentError

Raised on errors with per-host arguments to parallel functions

pssh.exceptions.HostArgumentException

alias ofHostArgumentError

exceptionpssh.exceptions.HostConfigError

Raised on invalid host configuration

exceptionpssh.exceptions.InvalidAPIUseError

Raised on invalid use of library API

exceptionpssh.exceptions.NoIPv6AddressFoundError

Raised when an IPV6 only address was requested but none areavailable for a host.

This exception is raised instead of UnknownHostErrorin the case where only IPV4 addresses are available via DNS for a host,or an IPV4 address was provided but IPV6 only was requested.

exceptionpssh.exceptions.PKeyFileError

Raised on errors finding private key file

exceptionpssh.exceptions.ProxyError

Raised on proxy errors

exceptionpssh.exceptions.SCPError

Raised on errors copying file via SCP

exceptionpssh.exceptions.SFTPError

Raised on SFTP errors

exceptionpssh.exceptions.SFTPIOError

Raised on SFTP IO errors

exceptionpssh.exceptions.SSHError

Raised on error authenticating with SSH server

pssh.exceptions.SSHException

alias ofSSHError

exceptionpssh.exceptions.SessionError

Raised on errors establishing SSH session

exceptionpssh.exceptions.ShellError

Raised on errors running command on interactive shell

exceptionpssh.exceptions.Timeout

Raised on timeout requested and reached

exceptionpssh.exceptions.UnknownHostError

Raised when a host is unknown (dns failure)

pssh.exceptions.UnknownHostException

alias ofUnknownHostError