Errors

exception ssh2.errors.SFTPError[source]

Exception raised when an SSHClient object doesn’t exist and the user attempts to create a new SFTPClient session object.

with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception ssh2.errors.SSHChannelError[source]

Exception raised when paramiko.open_channel fails to create a socket object for our tunnel.

with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception ssh2.errors.SSHConfigurationError[source]

Exception raised when one or more unsupported SSH configuration properties are invoked.

with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception ssh2.errors.SSHConnectionError[source]

Exception raised when a connection to remote host fails.

with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception ssh2.errors.SSHContextError[source]

Exception raised when the SSH context cannot be created.

with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.