API Documentation
- ssh2.session
MethodTypeSessionSession.agent_auth()Session.agent_init()Session.block_directions()Session.direct_tcpip()Session.direct_tcpip_ex()Session.disconnect()Session.forward_listen()Session.forward_listen_ex()Session.get_blocking()Session.get_timeout()Session.handshake()Session.hostkey()Session.hostkey_hash()Session.keepalive_config()Session.keepalive_send()Session.knownhost_init()Session.last_errno()Session.last_error()Session.method_pref()Session.methods()Session.open_session()Session.publickey_init()Session.scp_recv()Session.scp_recv2()Session.scp_send()Session.scp_send64()Session.set_blocking()Session.set_last_error()Session.set_timeout()Session.sftp_init()Session.startup()Session.supported_algs()Session.userauth_authenticated()Session.userauth_hostbased_fromfile()Session.userauth_keyboardinteractive()Session.userauth_list()Session.userauth_password()Session.userauth_publickey()Session.userauth_publickey_fromfile()Session.userauth_publickey_frommemory()Session.sock
- ssh2.channel
ChannelChannel.close()Channel.eof()Channel.execute()Channel.flush()Channel.flush_ex()Channel.flush_stderr()Channel.get_exit_signal()Channel.get_exit_status()Channel.handle_extended_data()Channel.handle_extended_data2()Channel.ignore_extended_data()Channel.poll_channel_read()Channel.process_startup()Channel.pty()Channel.read()Channel.read_ex()Channel.read_stderr()Channel.receive_window_adjust()Channel.receive_window_adjust2()Channel.request_auth_agent()Channel.send_eof()Channel.setenv()Channel.shell()Channel.subsystem()Channel.wait_closed()Channel.wait_eof()Channel.window_read()Channel.window_read_ex()Channel.window_write()Channel.window_write_ex()Channel.write()Channel.write_ex()Channel.write_stderr()Channel.x11_req()Channel.x11_req_ex()Channel.session
- ssh2.agent
- ssh2.sftp
- ssh2.sftp_handle
SFTPAttributesSFTPHandleSFTPHandle.close()SFTPHandle.fsetstat()SFTPHandle.fstat()SFTPHandle.fstat_ex()SFTPHandle.fstatvfs()SFTPHandle.fsync()SFTPHandle.read()SFTPHandle.readdir()SFTPHandle.readdir_ex()SFTPHandle.rewind()SFTPHandle.seek()SFTPHandle.seek64()SFTPHandle.tell()SFTPHandle.tell64()SFTPHandle.write()
SFTPStatVFS
- ssh2.pkey
- ssh2.listener
- ssh2.knownhost
- Exceptions
AgentAuthenticationErrorAgentConnectionErrorAgentErrorAgentGetIdentityErrorAgentListIdentitiesErrorAgentProtocolErrorAllocErrorAuthenticationErrorBadSocketErrorBadUseErrorBannerRecvErrorBannerSendErrorBufferTooSmallErrorChannelClosedErrorChannelEOFSentErrorChannelErrorChannelFailureChannelOutOfOrderErrorChannelPacketExceededChannelRequestDeniedChannelUnknownErrorChannelWindowExceededChannelWindowFullErrorCompressErrorDecryptErrorEncryptErrorFileErrorHostkeyInitErrorHostkeySignErrorInvalidMACErrorInvalidPollTypeErrorInvalidRequestErrorKexFailureErrorKeyExchangeErrorKeyfileAuthFailedErrorKnownHostAddErrorKnownHostCheckErrorKnownHostCheckFailureKnownHostCheckMisMatchErrorKnownHostCheckNotFoundErrorKnownHostDeleteErrorKnownHostErrorKnownHostGetErrorKnownHostReadFileErrorKnownHostReadLineErrorKnownHostWriteFileErrorKnownHostWriteLineErrorMethodNoneErrorMethodNotSupportedOutOfBoundaryErrorPasswordExpiredErrorProtocolErrorPublicKeyErrorPublicKeyInitErrorPublicKeyProtocolErrorPublickeyUnverifiedErrorRequestDeniedErrorSCPProtocolErrorSFTPErrorSFTPHandleErrorSFTPProtocolErrorSSH2ErrorSessionErrorSessionHandshakeErrorSessionHostKeyErrorSessionStartupErrorSocketDisconnectErrorSocketRecvErrorSocketSendErrorSocketTimeoutTimeoutUnknownErrorZlibError
- Stat Info
- File Info
- Utility Functions