asyncssh の API リファレンス
asyncssh (ronf/asyncssh) の公開 API 400 件 —— クラス 97、関数 68、メソッド 235。実際のソースを静的解析して抽出した正確なシグネチャを掲載しています。
リポジトリ: ronf/asyncssh
| 種別 | 件数 |
|---|---|
| クラス | 97 |
| 関数 | 68 |
| メソッド | 235 |
API 一覧
class
asyncssh.agent.AgentReaderProtocol for reading from an SSH agent
method
asyncssh.agent.AgentReader.readexactly(n:int) -> bytesRead exactly n bytes from the SSH agent
class
asyncssh.agent.AgentWriterProtocol for writing to an SSH agent
method
asyncssh.agent.AgentWriter.close() -> NoneClose connection to the SSH agent
method
asyncssh.agent.AgentWriter.wait_closed() -> NoneWait for the connection to the SSH agent to close
method
asyncssh.agent.AgentWriter.write(data:bytes) -> NoneWrite bytes to the SSH agent
class
asyncssh.agent.SSHAgentClientSSH agent client
method
asyncssh.agent.SSHAgentClient.connect() -> NoneConnect to the SSH agent
method
asyncssh.agent.SSHAgentClient.encode_constraints(lifetime:Optional[int], confirm:bool) -> bytesEncode key constraints
method
asyncssh.agent.SSHAgentClient.lock(passphrase:str) -> NoneLock the agent using the specified passphrase ..
method
asyncssh.agent.SSHAgentClient.sign(key_blob:bytes, data:bytes, flags:int=0) -> bytesSign a block of data with the requested key
method
asyncssh.agent.SSHAgentClient.unlock(passphrase:str) -> NoneUnlock the agent using the specified passphrase ..
class
asyncssh.agent.SSHAgentKeyPairSurrogate for a key managed by the SSH agent
method
asyncssh.agent.SSHAgentKeyPair.has_cert() -> boolReturn if this key pair has an associated cert
method
asyncssh.agent.SSHAgentKeyPair.remove() -> NoneRemove this key pair from the agent
method
asyncssh.agent.SSHAgentKeyPair.set_certificate(cert:SSHCertificate) -> NoneSet certificate to use with this key
method
asyncssh.agent.SSHAgentKeyPair.set_sig_algorithm(sig_algorithm:bytes) -> NoneSet the signature algorithm to use when signing data
method
asyncssh.agent.SSHAgentKeyPair.sign_async(data:bytes) -> bytesAsynchronously sign a block of data with this private key
class
asyncssh.agent.SSHAgentListenerListener used to forward agent connections
method
asyncssh.agent.SSHAgentListener.close() -> NoneClose the agent listener
method
asyncssh.agent.SSHAgentListener.get_path() -> strReturn the path being listened on
func
asyncssh.agent_unix.open_agent(agent_path:str) -> Tuple['AgentReader', 'AgentWriter']Open a connection to ssh-agent
func
asyncssh.agent_win32.open_agent(agent_path:str) -> Tuple['AgentReader', 'AgentWriter']Open a connection to the Pageant or Windows 10 OpenSSH agent
class
asyncssh.asn1.ASN1DecodeErrorASN.1 DER decoding error
class
asyncssh.asn1.ASN1EncodeErrorASN.1 DER encoding error
class
asyncssh.asn1.ASN1ErrorASN.1 coding error
method
asyncssh.asn1.BitString.decode(constructed:bool, content:bytes) -> 'BitString'Decode a DER bit string
method
asyncssh.asn1.BitString.encode(value:object) -> bytesEncode a DER bit string
class
asyncssh.asn1.DERTypeParent class for classes which use DERTag decorator
method
asyncssh.asn1.DERType.decode(constructed:bool, content:bytes) -> objectDecode a DER byte string into an object
method
asyncssh.asn1.DERType.encode(value:object) -> bytesEncode value as a DER byte string
class
asyncssh.asn1.IA5StringAn ASCII string value
method
asyncssh.asn1.IA5String.decode(constructed:bool, content:bytes) -> 'IA5String'Decode a DER IA5 string
method
asyncssh.asn1.IA5String.encode(value:object) -> bytesEncode a DER IA5 string
method
asyncssh.asn1.ObjectIdentifier.decode(constructed:bool, content:bytes) -> 'ObjectIdentifier'Decode a DER object identifier
method
asyncssh.asn1.ObjectIdentifier.encode(value:object) -> bytesEncode a DER object identifier
func
asyncssh.asn1.der_decode_partial(data:bytes) -> Tuple[object, int]Decode a value in DER format and return the number of bytes consumed
class
asyncssh.auth.AuthParent class for authentication
method
asyncssh.auth.Auth.cancel() -> NoneCancel any authentication in progress
method
asyncssh.auth.Auth.create_task(coro:Awaitable[None]) -> NoneCreate an asynchronous auth task
method
asyncssh.auth.Auth.logger() -> SSHLoggerA logger associated with this authentication handler
method
asyncssh.auth.Auth.send_packet(pkttype:int, *trivial:bool=True, *args:bytes) -> NoneSend an auth packet
class
asyncssh.auth.ClientAuthParent class for client authentication
method
asyncssh.auth.ClientAuth.auth_failed() -> NoneCallback when auth fails
method
asyncssh.auth.ClientAuth.auth_succeeded() -> NoneCallback when auth succeeds
method
asyncssh.auth.ClientAuth.send_request(*key:Optional[SigningKey]=None, *trivial:bool=True, *args:bytes) -> NoneSend a user authentication request
class
asyncssh.auth.ServerAuthParent class for server authentication
method
asyncssh.auth.ServerAuth.send_failure(partial_success:bool=False) -> NoneSend a user authentication failure response
method
asyncssh.auth.ServerAuth.send_success() -> NoneSend a user authentication success response
method
asyncssh.auth.ServerAuth.supported(conn:'SSHServerConnection') -> boolReturn whether this authentication method is supported
func
asyncssh.auth.get_supported_client_auth_methods() -> Sequence[bytes]Return a list of supported client auth methods
func
asyncssh.auth.get_supported_server_auth_methods(conn:'SSHServerConnection') -> Sequence[bytes]Return a list of supported server auth methods
func
asyncssh.auth.lookup_client_auth(conn:'SSHClientConnection', method:bytes) -> Optional[ClientAuth]Look up the client authentication method to use
func
asyncssh.auth.lookup_server_auth(conn:'SSHServerConnection', username:str, method:bytes, packet:SSHPacket) -> Optional[ServerAuth]Look up the server authentication method to use
func
asyncssh.auth.register_auth_method(alg:bytes, client_handler:Type[ClientAuth], server_handler:Type[ServerAuth]) -> NoneRegister an authentication method
class
asyncssh.auth_keys.SSHAuthorizedKeysAn SSH authorized keys list
method
asyncssh.auth_keys.SSHAuthorizedKeys.load(authorized_keys:str) -> NoneLoad authorized keys data into this object
class
asyncssh.channel.SSHAgentChannelSSH agent channel
method
asyncssh.channel.SSHAgentChannel.open(session_factory:SSHUNIXSessionFactory[bytes]) -> SSHUNIXSession[bytes]Open an SSH agent channel
class
asyncssh.channel.SSHChannelParent class for SSH channels
method
asyncssh.channel.SSHChannel.get_connection() -> 'SSHConnection'Return the connection used by this channel
method
asyncssh.channel.SSHChannel.get_encoding() -> Tuple[Optional[str], str]Return the encoding used by this channel
method
asyncssh.channel.SSHChannel.get_loop() -> asyncio.AbstractEventLoopReturn the event loop used by this channel
method
asyncssh.channel.SSHChannel.get_read_datatypes() -> Set[int]Return the legal read data types for this channel
method
asyncssh.channel.SSHChannel.get_recv_window() -> intReturn the configured receive window for this channel
method
asyncssh.channel.SSHChannel.get_write_datatypes() -> Set[int]Return the legal write data types for this channel
method
asyncssh.channel.SSHChannel.is_closing() -> boolReturn if the channel is closing or is closed
method
asyncssh.channel.SSHChannel.logger() -> SSHLoggerA logger associated with this channel
method
asyncssh.channel.SSHChannel.process_connection_close(exc:Optional[Exception]) -> NoneProcess the SSH connection closing
method
asyncssh.channel.SSHChannel.process_open(send_chan:int, send_window:int, send_pktsize:int, session:MaybeAwait[SSHSession[AnyStr]]) -> NoneProcess a channel open request
method
asyncssh.channel.SSHChannel.process_open_confirmation(send_chan:int, send_window:int, send_pktsize:int, packet:SSHPacket) -> NoneProcess a channel open confirmation
method
asyncssh.channel.SSHChannel.process_open_failure(code:int, reason:str, lang:str) -> NoneProcess a channel open failure
method
asyncssh.channel.SSHChannel.send_packet(pkttype:int, *args:bytes) -> NoneSend a packet on the channel
method
asyncssh.channel.SSHChannel.set_encoding(encoding:Optional[str], errors:str='strict') -> NoneSet the encoding on this channel
class
asyncssh.channel.SSHClientChannelSSH client channel
class
asyncssh.channel.SSHForwardChannelSSH channel for forwarding TCP and UNIX domain connections
class
asyncssh.channel.SSHServerChannelSSH server channel
class
asyncssh.channel.SSHTCPChannelSSH TCP channel
method
asyncssh.channel.SSHTCPChannel.accept(session_factory:SSHTCPSessionFactory[AnyStr], host:str, port:int, orig_host:str, orig_port:int) -> SSHTCPSession[AnyStr]Create a new forwarded TCP session
method
asyncssh.channel.SSHTCPChannel.connect(session_factory:SSHTCPSessionFactory[AnyStr], host:str, port:int, orig_host:str, orig_port:int) -> SSHTCPSession[AnyStr]Create a new outbound TCP session
method
asyncssh.channel.SSHTCPChannel.set_inbound_peer_names(dest_host:str, dest_port:int, orig_host:str, orig_port:int) -> NoneSet local and remote peer names for inbound connections
class
asyncssh.channel.SSHTunTapChannelSSH TunTap channel
method
asyncssh.channel.SSHTunTapChannel.open(session_factory:SSHTunTapSessionFactory, mode:int, unit:Optional[int]) -> SSHTunTapSessionOpen a TUN/TAP channel
method
asyncssh.channel.SSHTunTapChannel.set_mode(mode:int) -> NoneSet mode for inbound connections
method
asyncssh.channel.SSHTunTapChannel.write(data:bytes, datatype:DataType=None) -> NoneAdd address family in outbound packets in TUN mode
class
asyncssh.channel.SSHUNIXChannelSSH UNIX channel
method
asyncssh.channel.SSHUNIXChannel.accept(session_factory:SSHUNIXSessionFactory[AnyStr], path:str) -> SSHUNIXSession[AnyStr]Create a new forwarded UNIX session
method
asyncssh.channel.SSHUNIXChannel.connect(session_factory:SSHUNIXSessionFactory[AnyStr], path:str) -> SSHUNIXSession[AnyStr]Create a new outbound UNIX session
method
asyncssh.channel.SSHUNIXChannel.set_inbound_peer_names(dest_path:str) -> NoneSet local and remote peer names for inbound connections
class
asyncssh.channel.SSHX11ChannelSSH X11 channel
method
asyncssh.channel.SSHX11Channel.open(session_factory:SSHTCPSessionFactory[bytes], orig_host:str, orig_port:int) -> SSHTCPSession[bytes]Open an SSH X11 channel
method
asyncssh.channel.SSHX11Channel.set_inbound_peer_names(orig_host:str, orig_port:int) -> NoneSet local and remote peer name for inbound connections
class
asyncssh.compression.CompressorBase class for data compressor
method
asyncssh.compression.Compressor.compress(data:bytes) -> Optional[bytes]Compress data
class
asyncssh.compression.DecompressorBase class for data decompressor
method
asyncssh.compression.Decompressor.decompress(data:bytes) -> Optional[bytes]Decompress data
func
asyncssh.compression.get_compression_algs() -> List[bytes]Return supported compression algorithms
func
asyncssh.compression.get_default_compression_algs() -> List[bytes]Return default compression algorithms
func
asyncssh.compression.register_compression_alg(alg:bytes, compressor:_CompressorType, decompressor:_DecompressorType, after_auth:bool, default:bool) -> NoneRegister a compression algorithm
class
asyncssh.config.ConfigParseErrorConfiguration parsing exception
class
asyncssh.config.SSHClientConfigSettings from an OpenSSH client config file
class
asyncssh.config.SSHConfigSettings from an OpenSSH config file
method
asyncssh.config.SSHConfig.get(option:str, default:object=None) -> objectGet the value of a config option
method
asyncssh.config.SSHConfig.get_compression_algs() -> DefTuple[str]Return the compression algorithms to use
method
asyncssh.config.SSHConfig.get_options(reload:bool) -> Dict[str, object]Return options to base a new config object on
method
asyncssh.config.SSHConfig.has_match_final() -> boolReturn whether this config includes a 'Match final' block
method
asyncssh.config.SSHConfig.parse(path:Path) -> NoneParse an OpenSSH config file and return matching declarations
class
asyncssh.config.SSHServerConfigSettings from an OpenSSH server config file
class
asyncssh.crypto.chacha.ChachaCipherShim for Chacha20-Poly1305 symmetric encryption
method
asyncssh.crypto.chacha.ChachaCipher.decrypt_header(header:bytes, nonce:bytes) -> bytesDecrypt header data
method
asyncssh.crypto.chacha.ChachaCipher.encrypt_and_sign(header:bytes, data:bytes, nonce:bytes) -> Tuple[bytes, bytes]Encrypt and sign a block of data
method
asyncssh.crypto.chacha.ChachaCipher.verify_and_decrypt(header:bytes, data:bytes, nonce:bytes, tag:bytes) -> Optional[bytes]Verify the signature of and decrypt a block of data
func
asyncssh.crypto.chacha.chacha20(key:bytes, data:bytes, nonce:bytes, ctr:int) -> bytesEncrypt/decrypt a block of data with the ChaCha20 cipher
func
asyncssh.crypto.chacha.poly1305(key:bytes, data:bytes, nonce:bytes) -> bytesCompute a Poly1305 tag for a block of data
func
asyncssh.crypto.chacha.poly1305_key(key:bytes, nonce:bytes) -> bytesDerive a Poly1305 key
func
asyncssh.crypto.chacha.poly1305_verify(key:bytes, data:bytes, nonce:bytes, tag:bytes) -> boolVerify a Poly1305 tag for a block of data
class
asyncssh.crypto.cipher.BasicCipherShim for basic ciphers
method
asyncssh.crypto.cipher.BasicCipher.decrypt(data:bytes) -> bytesDecrypt a block of data
method
asyncssh.crypto.cipher.BasicCipher.encrypt(data:bytes) -> bytesEncrypt a block of data
class
asyncssh.crypto.cipher.GCMCipherShim for GCM ciphers
method
asyncssh.crypto.cipher.GCMCipher.encrypt_and_sign(header:bytes, data:bytes) -> Tuple[bytes, bytes]Encrypt and sign a block of data
method
asyncssh.crypto.cipher.GCMCipher.verify_and_decrypt(header:bytes, data:bytes, mac:bytes) -> Optional[bytes]Verify the signature of and decrypt a block of data
func
asyncssh.crypto.cipher.get_cipher_params(cipher_name:str) -> _CipherParamsGet parameters of a symmetric cipher
func
asyncssh.crypto.cipher.register_cipher(cipher_name:str, key_size:int, iv_size:int, block_size:int) -> NoneRegister a symmetric cipher
class
asyncssh.crypto.dh.DHA shim around PyCA for Diffie Hellman key exchange
method
asyncssh.crypto.dh.DH.get_public() -> intReturn the public key to send in the handshake
method
asyncssh.crypto.dh.DH.get_shared(peer_public:int) -> intReturn the shared key from the peer's public key
class
asyncssh.crypto.dsa.DSAPrivateKeyA shim around PyCA for DSA private keys
method
asyncssh.crypto.dsa.DSAPrivateKey.construct(p:int, q:int, g:int, y:int, x:int) -> 'DSAPrivateKey'Construct a DSA private key
method
asyncssh.crypto.dsa.DSAPrivateKey.generate(key_size:int) -> 'DSAPrivateKey'Generate a new DSA private key
method
asyncssh.crypto.dsa.DSAPrivateKey.sign(data:bytes, hash_name:str='') -> bytesSign a block of data
class
asyncssh.crypto.dsa.DSAPublicKeyA shim around PyCA for DSA public keys
method
asyncssh.crypto.dsa.DSAPublicKey.construct(p:int, q:int, g:int, y:int) -> 'DSAPublicKey'Construct a DSA public key
method
asyncssh.crypto.dsa.DSAPublicKey.verify(data:bytes, sig:bytes, hash_name:str='') -> boolVerify the signature on a block of data
class
asyncssh.crypto.ec.ECDHA shim around PyCA for ECDH key exchange
method
asyncssh.crypto.ec.ECDH.get_public() -> bytesReturn the public key to send in the handshake
method
asyncssh.crypto.ec.ECDH.get_shared(peer_public:bytes) -> intReturn the shared key from the peer's public key
method
asyncssh.crypto.ec.ECDH.get_shared_bytes(peer_public:bytes) -> bytesReturn the shared key from the peer's public key as bytes
class
asyncssh.crypto.ec.ECDSAPrivateKeyA shim around PyCA for ECDSA private keys
method
asyncssh.crypto.ec.ECDSAPrivateKey.construct(curve_id:bytes, public_value:bytes, private_value:int) -> 'ECDSAPrivateKey'Construct an ECDSA private key
method
asyncssh.crypto.ec.ECDSAPrivateKey.generate(curve_id:bytes) -> 'ECDSAPrivateKey'Generate a new ECDSA private key
method
asyncssh.crypto.ec.ECDSAPrivateKey.sign(data:bytes, hash_name:str='') -> bytesSign a block of data
class
asyncssh.crypto.ec.ECDSAPublicKeyA shim around PyCA for ECDSA public keys
method
asyncssh.crypto.ec.ECDSAPublicKey.construct(curve_id:bytes, public_value:bytes) -> 'ECDSAPublicKey'Construct an ECDSA public key
method
asyncssh.crypto.ec.ECDSAPublicKey.verify(data:bytes, sig:bytes, hash_name:str='') -> boolVerify the signature on a block of data
class
asyncssh.crypto.ed.Curve25519DHCurve25519 Diffie Hellman implementation based on PyCA
method
asyncssh.crypto.ed.Curve25519DH.get_public() -> bytesReturn the public key to send in the handshake
method
asyncssh.crypto.ed.Curve25519DH.get_shared(peer_public:bytes) -> intReturn the shared key from the peer's public key
method
asyncssh.crypto.ed.Curve25519DH.get_shared_bytes(peer_public:bytes) -> bytesReturn the shared key from the peer's public key as bytes
class
asyncssh.crypto.ed.Curve448DHCurve448 Diffie Hellman implementation based on PyCA
method
asyncssh.crypto.ed.Curve448DH.get_public() -> bytesReturn the public key to send in the handshake
method
asyncssh.crypto.ed.Curve448DH.get_shared(peer_public:bytes) -> intReturn the shared key from the peer's public key
class
asyncssh.crypto.ed.EdDSAPrivateKeyA shim around PyCA for EdDSA private keys
method
asyncssh.crypto.ed.EdDSAPrivateKey.construct(curve_id:bytes, priv:bytes) -> 'EdDSAPrivateKey'Construct an EdDSA private key
method
asyncssh.crypto.ed.EdDSAPrivateKey.generate(curve_id:bytes) -> 'EdDSAPrivateKey'Generate a new EdDSA private key
method
asyncssh.crypto.ed.EdDSAPrivateKey.sign(data:bytes, hash_name:str='') -> bytesSign a block of data
class
asyncssh.crypto.ed.EdDSAPublicKeyA shim around PyCA for EdDSA public keys
method
asyncssh.crypto.ed.EdDSAPublicKey.construct(curve_id:bytes, pub:bytes) -> 'EdDSAPublicKey'Construct an EdDSA public key
method
asyncssh.crypto.ed.EdDSAPublicKey.verify(data:bytes, sig:bytes, hash_name:str='') -> boolVerify the signature on a block of data
func
asyncssh.crypto.kdf.pbkdf2_hmac(hash_name:str, passphrase:bytes, salt:bytes, count:int, key_size:int) -> bytesA shim around PyCA for PBKDF2 HMAC key derivation
class
asyncssh.crypto.misc.CryptoKeyBase class for PyCA private/public keys
method
asyncssh.crypto.misc.CryptoKey.pyca_key() -> PyCAKeyReturn the PyCA object associated with this key
method
asyncssh.crypto.misc.CryptoKey.sign(data:bytes, hash_name:str='') -> bytesSign a block of data
method
asyncssh.crypto.misc.CryptoKey.verify(data:bytes, sig:bytes, hash_name:str='') -> boolVerify the signature on a block of data
class
asyncssh.crypto.pq.PQKeyProtocol for performing post-quantum key exchange
method
asyncssh.crypto.pq.PQKey.decaps(ciphertext:bytes) -> bytesDecrypt an encrypted secret using a private key
method
asyncssh.crypto.pq.PQKey.encaps(peer_public:bytes) -> Tuple[bytes, bytes]Generate a random secret and encrypt it with a public key
method
asyncssh.crypto.pq.PQKey.get_public() -> bytesReturn the public key to send in the handshake
class
asyncssh.crypto.rsa.RSAPrivateKeyA shim around PyCA for RSA private keys
method
asyncssh.crypto.rsa.RSAPrivateKey.construct(n:int, e:int, d:int, p:int, q:int, dmp1:int, dmq1:int, iqmp:int, skip_validation:bool) -> 'RSAPrivateKey'Construct an RSA private key
method
asyncssh.crypto.rsa.RSAPrivateKey.decrypt(data:bytes, hash_name:str) -> Optional[bytes]Decrypt a block of data
method
asyncssh.crypto.rsa.RSAPrivateKey.generate(key_size:int, exponent:int) -> 'RSAPrivateKey'Generate a new RSA private key
method
asyncssh.crypto.rsa.RSAPrivateKey.sign(data:bytes, hash_name:str='') -> bytesSign a block of data
class
asyncssh.crypto.rsa.RSAPublicKeyA shim around PyCA for RSA public keys
method
asyncssh.crypto.rsa.RSAPublicKey.construct(n:int, e:int) -> 'RSAPublicKey'Construct an RSA public key
method
asyncssh.crypto.rsa.RSAPublicKey.encrypt(data:bytes, hash_name:str) -> Optional[bytes]Encrypt a block of data
method
asyncssh.crypto.rsa.RSAPublicKey.verify(data:bytes, sig:bytes, hash_name:str='') -> boolVerify the signature on a block of data
class
asyncssh.crypto.x509.X509CertificateA shim around PyCA and PyOpenSSL for X.509 certificates
method
asyncssh.crypto.x509.X509Certificate.validate(trust_store:Sequence['X509Certificate'], purposes:_Purposes, user_principal:str, host_principal:str) -> NoneValidate an X.509 certificate
class
asyncssh.crypto.x509.X509NameA shim around PyCA for X.509 distinguished names
class
asyncssh.crypto.x509.X509NamePatternMatch X.509 distinguished names
method
asyncssh.crypto.x509.X509NamePattern.matches(name:X509Name) -> boolReturn whether an X.509 name matches this pattern
func
asyncssh.crypto.x509.import_x509_certificate(data:bytes) -> X509CertificateConstruct an X.509 certificate from DER data
class
asyncssh.editor.SSHLineEditorInput line editor
method
asyncssh.editor.SSHLineEditor.process_input(data:str, datatype:DataType) -> NoneProcess input from channel
method
asyncssh.editor.SSHLineEditor.process_output(data:str) -> NoneProcess output to channel
method
asyncssh.editor.SSHLineEditor.register_key(key:str, handler:_KeyHandler) -> NoneRegister a handler to be called when a key is pressed
method
asyncssh.editor.SSHLineEditor.set_echo(echo:bool) -> NoneEnable/disable echoing of input in line mode
method
asyncssh.editor.SSHLineEditor.set_input(line:str, pos:int) -> NoneSet input line and cursor position
method
asyncssh.editor.SSHLineEditor.set_line_mode(line_mode:bool) -> NoneEnable/disable input line editing
method
asyncssh.editor.SSHLineEditor.set_width(width:int) -> NoneSet terminal line width
method
asyncssh.editor.SSHLineEditor.unregister_key(key:str) -> NoneRemove the handler associated with a key
class
asyncssh.editor.SSHLineEditorSessionInput line editor session wrapper
method
asyncssh.editor.SSHLineEditorSession.data_received(data:str, datatype:DataType) -> NoneProcess data received from the channel
method
asyncssh.editor.SSHLineEditorSession.eof_received() -> Optional[bool]Process EOF received from the channel
method
asyncssh.editor.SSHLineEditorSession.session_started() -> NoneStart a session for this newly opened server channel
method
asyncssh.editor.SSHLineEditorSession.terminal_size_changed(width:int, height:int, pixwidth:int, pixheight:int) -> NoneThe terminal size has changed
class
asyncssh.encryption.BasicEncryptionShim for basic encryption
method
asyncssh.encryption.BasicEncryption.decrypt_header(seq:int, first_block:bytes, header_len:int) -> Tuple[bytes, bytes]Decrypt an SSH packet header
method
asyncssh.encryption.BasicEncryption.decrypt_packet(seq:int, first:bytes, rest:bytes, header_len:int, mac:bytes) -> Optional[bytes]Verify the signature of and decrypt an SSH packet
method
asyncssh.encryption.BasicEncryption.encrypt_packet(seq:int, header:bytes, packet:bytes) -> Tuple[bytes, bytes]Encrypt and sign an SSH packet
class
asyncssh.encryption.ChachaEncryptionShim for chacha20-poly1305 encryption
method
asyncssh.encryption.ChachaEncryption.decrypt_header(seq:int, first_block:bytes, header_len:int) -> Tuple[bytes, bytes]Decrypt an SSH packet header
method
asyncssh.encryption.ChachaEncryption.decrypt_packet(seq:int, first:bytes, rest:bytes, header_len:int, mac:bytes) -> Optional[bytes]Verify the signature of and decrypt an SSH packet
method
asyncssh.encryption.ChachaEncryption.encrypt_packet(seq:int, header:bytes, packet:bytes) -> Tuple[bytes, bytes]Encrypt and sign an SSH packet
class
asyncssh.encryption.ETMEncryptionShim for encrypt-then-mac encryption
method
asyncssh.encryption.ETMEncryption.decrypt_header(seq:int, first_block:bytes, header_len:int) -> Tuple[bytes, bytes]Decrypt an SSH packet header
method
asyncssh.encryption.ETMEncryption.decrypt_packet(seq:int, first:bytes, rest:bytes, header_len:int, mac:bytes) -> Optional[bytes]Verify the signature of and decrypt an SSH packet
method
asyncssh.encryption.ETMEncryption.encrypt_packet(seq:int, header:bytes, packet:bytes) -> Tuple[bytes, bytes]Encrypt and sign an SSH packet
class
asyncssh.encryption.EncryptionParent class for SSH packet encryption objects
method
asyncssh.encryption.Encryption.decrypt_header(seq:int, first_block:bytes, header_len:int) -> Tuple[bytes, bytes]Decrypt an SSH packet header
method
asyncssh.encryption.Encryption.decrypt_packet(seq:int, first:bytes, rest:bytes, header_len:int, mac:bytes) -> Optional[bytes]Verify the signature of and decrypt an SSH packet
method
asyncssh.encryption.Encryption.encrypt_packet(seq:int, header:bytes, packet:bytes) -> Tuple[bytes, bytes]Encrypt and sign an SSH packet
method
asyncssh.encryption.Encryption.get_mac_params(mac_alg:bytes) -> Tuple[int, int, bool]Get parameters of the MAC algorithm used with this encryption
method
asyncssh.encryption.Encryption.needs_mac() -> boolReturn whether a MAC algorithm is needed for this encryption
method
asyncssh.encryption.Encryption.new(cipher_name:str, key:bytes, iv:bytes, mac_alg:bytes=b'', mac_key:bytes=b'', etm:bool=False) -> 'Encryption'Construct a new SSH packet encryption object
class
asyncssh.encryption.GCMEncryptionShim for GCM encryption
method
asyncssh.encryption.GCMEncryption.decrypt_header(seq:int, first_block:bytes, header_len:int) -> Tuple[bytes, bytes]Decrypt an SSH packet header
method
asyncssh.encryption.GCMEncryption.decrypt_packet(seq:int, first:bytes, rest:bytes, header_len:int, mac:bytes) -> Optional[bytes]Verify the signature of and decrypt an SSH packet
method
asyncssh.encryption.GCMEncryption.encrypt_packet(seq:int, header:bytes, packet:bytes) -> Tuple[bytes, bytes]Encrypt and sign an SSH packet
method
asyncssh.encryption.GCMEncryption.get_mac_params(mac_alg:bytes) -> Tuple[int, int, bool]Get parameters of the MAC algorithm used with this encryption
method
asyncssh.encryption.GCMEncryption.needs_mac() -> boolGCM encryption doesn't need an external MAC algorithm
func
asyncssh.encryption.encryption_needs_mac(enc_alg:bytes) -> boolReturn whether an encryption algorithm needs a MAC algorithm
func
asyncssh.encryption.get_default_encryption_algs() -> List[bytes]Return default encryption algorithms
func
asyncssh.encryption.get_encryption_algs() -> List[bytes]Return supported encryption algorithms
func
asyncssh.encryption.get_encryption_params(enc_alg:bytes, mac_alg:bytes=b'') -> _EncParamsGet parameters of an encryption and MAC algorithm
func
asyncssh.encryption.register_encryption_alg(enc_alg:bytes, encryption:Type[Encryption], cipher_name:str, default:bool) -> NoneRegister an encryption algorithm
class
asyncssh.forward.SSHForwarderSSH port forwarding connection handler
method
asyncssh.forward.SSHForwarder.close() -> NoneClose this port forwarder
method
asyncssh.forward.SSHForwarder.connection_lost(exc:Optional[Exception]) -> NoneHandle an incoming connection close
method
asyncssh.forward.SSHForwarder.connection_made(transport:asyncio.BaseTransport) -> NoneHandle a newly opened connection
method
asyncssh.forward.SSHForwarder.data_received(data:bytes, datatype:Optional[int]=None) -> NoneHandle incoming data from the transport
method
asyncssh.forward.SSHForwarder.eof_received() -> boolHandle an incoming end of file from the transport
method
asyncssh.forward.SSHForwarder.pause_reading() -> NonePause reading from the transport
method
asyncssh.forward.SSHForwarder.pause_writing() -> NonePause writing by asking peer to pause reading
method
asyncssh.forward.SSHForwarder.resume_reading() -> NoneResume reading on the transport
method
asyncssh.forward.SSHForwarder.resume_writing() -> NoneResume writing by asking peer to resume reading
method
asyncssh.forward.SSHForwarder.session_started() -> NoneHandle session start
method
asyncssh.forward.SSHForwarder.set_peer(peer:'SSHForwarder') -> NoneSet the peer forwarder to exchange data with
method
asyncssh.forward.SSHForwarder.was_eof_received() -> boolReturn whether end of file has been received or not
method
asyncssh.forward.SSHForwarder.write(data:bytes) -> NoneWrite data to the transport
method
asyncssh.forward.SSHForwarder.write_eof() -> NoneWrite end of file to the transport
class
asyncssh.forward.SSHLocalForwarderLocal forwarding connection handler
method
asyncssh.forward.SSHLocalForwarder.forward(*args:object) -> NoneStart a task to begin local forwarding
func
asyncssh.forward.SSHLocalForwarder.session_factory() -> SSHForwarderReturn an SSH forwarder
class
asyncssh.forward.SSHLocalPathForwarderLocal UNIX domain socket forwarding connection handler
method
asyncssh.forward.SSHLocalPathForwarder.connection_made(transport:asyncio.BaseTransport) -> NoneHandle a newly opened connection
class
asyncssh.forward.SSHLocalPortForwarderLocal TCP port forwarding connection handler
method
asyncssh.forward.SSHLocalPortForwarder.connection_made(transport:asyncio.BaseTransport) -> NoneHandle a newly opened connection
class
asyncssh.gss.GSSBaseBase class for reporting that GSS is not available
class
asyncssh.gss.GSSClientStub client class for reporting that GSS is not available
class
asyncssh.gss.GSSErrorStub class for reporting that GSS is not available
class
asyncssh.gss.GSSServerStub client class for reporting that GSS is not available
class
asyncssh.gss_unix.GSSBaseGSS base class
method
asyncssh.gss_unix.GSSBase.complete() -> boolReturn whether or not GSS negotiation is complete
method
asyncssh.gss_unix.GSSBase.host() -> strReturn host principal associated with this context
method
asyncssh.gss_unix.GSSBase.mechs() -> Sequence[bytes]Return GSS mechanisms available for this host
method
asyncssh.gss_unix.GSSBase.reset() -> NoneReset GSS security context
method
asyncssh.gss_unix.GSSBase.sign(data:bytes) -> bytesSign a block of data
method
asyncssh.gss_unix.GSSBase.step(token:Optional[bytes]=None) -> Optional[bytes]Perform next step in GSS security exchange
method
asyncssh.gss_unix.GSSBase.user() -> strReturn user principal associated with this context
method
asyncssh.gss_unix.GSSBase.verify(data:bytes, sig:bytes) -> boolVerify a signature for a block of data
class
asyncssh.gss_unix.GSSClientGSS client
class
asyncssh.gss_unix.GSSServerGSS server
class
asyncssh.gss_win32.GSSBaseGSS base class
method
asyncssh.gss_win32.GSSBase.complete() -> boolReturn whether or not GSS negotiation is complete
method
asyncssh.gss_win32.GSSBase.host() -> strReturn host principal associated with this context
method
asyncssh.gss_win32.GSSBase.mechs() -> Sequence[bytes]Return GSS mechanisms available for this host
method
asyncssh.gss_win32.GSSBase.reset() -> NoneReset GSS security context
method
asyncssh.gss_win32.GSSBase.sign(data:bytes) -> bytesSign a block of data
method
asyncssh.gss_win32.GSSBase.step(token:Optional[bytes]=None) -> Optional[bytes]Perform next step in GSS security exchange
method
asyncssh.gss_win32.GSSBase.user() -> strReturn user principal associated with this context
method
asyncssh.gss_win32.GSSBase.verify(data:bytes, sig:bytes) -> boolVerify a signature for a block of data
class
asyncssh.gss_win32.GSSClientGSS client
class
asyncssh.gss_win32.GSSErrorClass for reporting GSS errors
class
asyncssh.gss_win32.GSSServerGSS server
class
asyncssh.kex.KexParent class for key exchange handlers
method
asyncssh.kex.Kex.compute_key(k:bytes, h:bytes, x:bytes, session_id:bytes, keylen:int) -> bytesCompute keys from output of key exchange
method
asyncssh.kex.Kex.logger() -> SSHLoggerA logger associated with this connection
method
asyncssh.kex.Kex.send_packet(pkttype:int, *args:bytes) -> NoneSend a kex packet
method
asyncssh.kex.Kex.start() -> NoneStart key exchange
func
asyncssh.kex.get_default_kex_algs() -> List[bytes]Return default key exchange algorithms
func
asyncssh.kex.get_kex_algs() -> List[bytes]Return supported key exchange algorithms
func
asyncssh.kex.register_gss_kex_alg(alg:bytes, handler:Type[Kex], hash_alg:HashType, args:Tuple, default:bool) -> NoneRegister a GSSAPI key exchange algorithm
func
asyncssh.kex.register_kex_alg(alg:bytes, handler:Type[Kex], hash_alg:HashType, args:Tuple, default:bool) -> NoneRegister a key exchange algorithm
class
asyncssh.keysign.SSHKeySignKeyPairSurrogate for a key where signing is done via ssh-keysign
method
asyncssh.keysign.SSHKeySignKeyPair.sign_async(data:bytes) -> bytesUse ssh-keysign to sign a block of data with this key
func
asyncssh.keysign.find_keysign(path:KeySignPath) -> strReturn path to ssh-keysign executable
func
asyncssh.keysign.get_keysign_keys(keysign_path:str, sock_fd:int, keys:Iterable[_KeySignKey]) -> Sequence[SSHKeySignKeyPair]Return keypair objects which invoke ssh-keysign
class
asyncssh.known_hosts.SSHKnownHostsAn SSH known hosts list
method
asyncssh.known_hosts.SSHKnownHosts.load(known_hosts:str) -> NoneLoad known hosts data into this object
class
asyncssh.listener.SSHClientListenerClient listener used to accept inbound forwarded connections
method
asyncssh.listener.SSHClientListener.close() -> NoneClose this listener asynchronously
method
asyncssh.listener.SSHClientListener.wait_closed() -> NoneWait for this listener to finish closing
class
asyncssh.listener.SSHForwardListenerA listener used when forwarding traffic from local ports
method
asyncssh.listener.SSHForwardListener.close() -> NoneClose this listener
method
asyncssh.listener.SSHForwardListener.get_port() -> intReturn the port number being listened on
method
asyncssh.listener.SSHForwardListener.wait_closed() -> NoneWait for this listener to finish closing
class
asyncssh.listener.SSHListenerSSH listener for inbound connections
method
asyncssh.listener.SSHListener.set_tunnel(tunnel:'SSHConnection') -> NoneSet tunnel associated with listener
func
asyncssh.listener.protocol_factory() -> asyncio.BaseProtocolStart a port forwarder for each new local connection
class
asyncssh.logging.SSHLoggerAdapter to add context to AsyncSSH log messages
method
asyncssh.logging.SSHLogger.debug1(msg:str, *args:_LogArg, **kwargs:object) -> NoneWrite a level 1 debug log message
method
asyncssh.logging.SSHLogger.debug2(msg:str, *args:_LogArg, **kwargs:object) -> NoneWrite a level 2 debug log message
method
asyncssh.logging.SSHLogger.get_child(child:str='', context:str='') -> 'SSHLogger'Return child logger with optional added context
method
asyncssh.logging.SSHLogger.log(level:int, msg:object, *args, **kwargs) -> NoneLog a message to the underlying logger
method
asyncssh.logging.SSHLogger.packet(pktid:Optional[int], packet:bytes, msg:str, *args:_LogArg, **kwargs:object) -> NoneWrite a control packet debug log message
method
asyncssh.logging.SSHLogger.process(msg:str, kwargs:_ObjDict) -> Tuple[str, _ObjDict]Add context to log message
method
asyncssh.logging.SSHLogger.set_debug_level(level:int) -> NoneSet AsyncSSH debug log level
class
asyncssh.mac.MACParent class for SSH message authentication handlers
method
asyncssh.mac.MAC.sign(seq:int, packet:bytes) -> bytesCompute a signature for a message
method
asyncssh.mac.MAC.verify(seq:int, packet:bytes, sig:bytes) -> boolVerify the signature of a message
func
asyncssh.mac.get_default_mac_algs() -> List[bytes]Return default MAC algorithms
func
asyncssh.mac.get_mac_algs() -> List[bytes]Return supported MAC algorithms
func
asyncssh.mac.register_mac_alg(mac_alg:bytes, key_size:int, hash_size:int, etm:bool, handler:Callable, args:Tuple, default:bool) -> NoneRegister a MAC algorithm
class
asyncssh.misc.ErrorGeneral SSH error
class
asyncssh.misc.HashTypeProtocol for returning the type of a hash function
class
asyncssh.misc.OptionsContainer for configuration options
method
asyncssh.misc.Options.prepare(**kwargs:object) -> NonePre-process configuration options
method
asyncssh.misc.Options.update(**kwargs:object) -> NoneUpdate options based on keyword parameters passed in
class
asyncssh.misc.OptionsParserParser for comma-separated key-value pairs with quoting
class
asyncssh.misc.RecordGeneric Record class
func
asyncssh.misc.all_ints(seq:Sequence[object]) -> boolReturn if a sequence contains all integers
func
asyncssh.misc.decode_env(env:Dict[bytes, bytes]) -> Iterator[Tuple[str, str]]Convert bytes-based environment dict to Unicode strings
func
asyncssh.misc.encode_env(env:Env) -> Iterator[Tuple[bytes, bytes]]Convert environment dict or list to bytes-based dictionary
func
asyncssh.misc.get_symbol_names(symbols:Mapping[str, int], prefix:str, strip_leading:int=0) -> Mapping[int, str]Return a mapping from values to symbol names for logging
func
asyncssh.misc.hide_empty(value:object, prefix:str=', ') -> strReturn a string with optional prefix if value is non-empty
func
asyncssh.misc.ip_address(addr:str) -> IPAddressWrapper for ipaddress.ip_address which supports scoped addresses
func
asyncssh.misc.ip_network(addr:str) -> IPNetworkWrapper for ipaddress.ip_network which supports scoped addresses
func
asyncssh.misc.lookup_env(patterns:EnvSeq) -> Iterator[Tuple[bytes, bytes]]Look up environment variables with wildcard matches
func
asyncssh.misc.make_sparse_file(file_obj:IO) -> NoneEnable sparse file support on a file on Windows
func
asyncssh.misc.map_handler_name(name:str) -> strMap punctuation so a string can be used as a handler name
func
asyncssh.misc.match_base64(data:bytes, start:int, header:bytes) -> Tuple[bytes, int]Match a block of base64 data wrapped in a header/footer
func
asyncssh.misc.open_file(filename:FilePath, mode:str, buffering:int=-1) -> IO[bytes]Open a file with home directory expansion
func
asyncssh.misc.parse_byte_count(value:str) -> intParse a byte count with optional k, m, or g suffixes
func
asyncssh.misc.parse_time(t:AbsTime) -> intParse a time value
func
asyncssh.misc.parse_time_interval(value:str) -> floatParse a time interval with optional s, m, h, d, or w suffixes
func
asyncssh.misc.plural(length:int, label:str, suffix:str='s') -> strReturn a label with an optional plural suffix
func
asyncssh.misc.read_file(filename:FilePath) -> bytesRead from a binary file with home directory expansion
func
asyncssh.misc.run_in_executor(func:Callable[..., _T], *args:object) -> _TRun a function in an asyncio executor
func
asyncssh.misc.set_terminal_size(tty:IO, width:int, height:int, pixwidth:int, pixheight:int) -> NoneSet the terminal size of a TTY
func
asyncssh.misc.split_args(command:str) -> Sequence[str]Split a command string into a list of arguments
func
asyncssh.misc.write_file(filename:FilePath, data:bytes, mode:str='wb') -> intWrite or append to a file with home directory expansion
func
asyncssh.packet.Boolean(value:bool) -> bytesEncode a boolean value
func
asyncssh.packet.Byte(value:int) -> bytesEncode a single byte
func
asyncssh.packet.MPInt(value:int) -> bytesEncode a multiple precision integer value
func
asyncssh.packet.NameList(value:Iterable[bytes]) -> bytesEncode a comma-separated list of byte strings
class
asyncssh.packet.PacketDecodeErrorPacket decoding error
class
asyncssh.packet.SSHPacketDecoder class for SSH packets
method
asyncssh.packet.SSHPacket.check_end() -> NoneConfirm that all of the data in the packet has been consumed
method
asyncssh.packet.SSHPacket.get_boolean() -> boolExtract a boolean from the packet
method
asyncssh.packet.SSHPacket.get_byte() -> intExtract a single byte from the packet
method
asyncssh.packet.SSHPacket.get_bytes(size:int) -> bytesExtract the requested number of bytes from the packet
method
asyncssh.packet.SSHPacket.get_consumed_payload() -> bytesReturn the portion of the packet consumed so far
method
asyncssh.packet.SSHPacket.get_full_payload() -> bytesReturn the full packet
method
asyncssh.packet.SSHPacket.get_mpint() -> intExtract a multiple precision integer from the packet
method
asyncssh.packet.SSHPacket.get_remaining_payload() -> bytesReturn the portion of the packet not yet consumed
method
asyncssh.packet.SSHPacket.get_string() -> bytesExtract a UTF-8 string from the packet
method
asyncssh.packet.SSHPacket.get_uint16() -> intExtract a 16-bit integer from the packet
method
asyncssh.packet.SSHPacket.get_uint32() -> intExtract a 32-bit integer from the packet
method
asyncssh.packet.SSHPacket.get_uint64() -> intExtract a 64-bit integer from the packet
class
asyncssh.packet.SSHPacketHandlerParent class for SSH packet handlers
method
asyncssh.packet.SSHPacketHandler.logger() -> SSHLoggerThe logger associated with this packet handler
method
asyncssh.packet.SSHPacketHandler.process_packet(pkttype:int, pktid:int, packet:SSHPacket) -> Union[bool, Awaitable[None]]Log and process a received packet
class
asyncssh.packet.SSHPacketLoggerParent class for SSH packet loggers
method
asyncssh.packet.SSHPacketLogger.log_received_packet(pkttype:int, pktid:Optional[int], packet:_LoggedPacket, note:str='') -> NoneLog a received packet
method
asyncssh.packet.SSHPacketLogger.log_sent_packet(pkttype:int, pktid:Optional[int], packet:_LoggedPacket, note:str='') -> NoneLog a sent packet
method
asyncssh.packet.SSHPacketLogger.logger() -> SSHLoggerThe logger to use for packet logging
func
asyncssh.packet.String(value:Union[bytes, str]) -> bytesEncode a byte string or UTF-8 string value
func
asyncssh.packet.UInt16(value:int) -> bytesEncode a 16-bit integer value
func
asyncssh.packet.UInt32(value:int) -> bytesEncode a 32-bit integer value
func
asyncssh.packet.UInt64(value:int) -> bytesEncode a 64-bit integer value
class
asyncssh.pattern.CIDRHostPatternMatch IPv4/v6 address against CIDR-style subnet pattern
method
asyncssh.pattern.CIDRHostPattern.matches(_host:str, _addr:str, ip:IPAddress) -> boolReturn whether an IP address matches a CIDR address pattern
class
asyncssh.pattern.HostPatternListMatch host names & addresses against wildcard and CIDR patterns
method
asyncssh.pattern.HostPatternList.build_pattern(pattern:str) -> _HostPatternBuild a CIDR address or wild card host pattern
class
asyncssh.pattern.WildcardHostPatternMatch a host name or address against a wildcard pattern
class
asyncssh.pattern.WildcardPatternA pattern matcher for '*' and '?' wildcards
method
asyncssh.pattern.WildcardPattern.matches(value:str) -> boolReturn whether a wild card pattern matches a value
class
asyncssh.pattern.WildcardPatternListMatch names against wildcard patterns
method
asyncssh.pattern.WildcardPatternList.build_pattern(pattern:str) -> WildcardPatternBuild a wild card pattern
func
asyncssh.pbe.register_pbes2_cipher(pbes2_cipher_name:str, pbes2_cipher_oid:ObjectIdentifier, handler:_PBES2CipherHandler, cipher_name:str) -> NoneRegister a PBES2 encryption algorithm
func
asyncssh.pbe.register_pbes2_kdf(kdf_name:str, kdf_oid:ObjectIdentifier, handler:_PBES2KDFHandler, *args:object) -> NoneRegister a PBES2 key derivation function
func
asyncssh.pbe.register_pbes2_prf(hash_name:str, prf_oid:ObjectIdentifier) -> NoneRegister a PBES2 pseudo-random function
func
asyncssh.pbe.register_pkcs1_cipher(pkcs1_cipher_name:str, pkcs1_dek_name:bytes, cipher_name:str) -> NoneRegister a cipher used for PKCS#1 private key encryption
class
asyncssh.pkcs11.SSHPKCS11KeyPairSurrogate for a key accessed via a PKCS#11 provider
method
asyncssh.pkcs11.SSHPKCS11KeyPair.sign(data:bytes) -> bytesSign a block of data with this private key
class
asyncssh.pkcs11.SSHPKCS11SessionWork around PKCS#11 sessions not supporting simultaneous opens
method
asyncssh.pkcs11.SSHPKCS11Session.close() -> NoneDrop one reference to an open session
method
asyncssh.pkcs11.SSHPKCS11Session.get_keys(load_certs:bool, key_label:Optional[str], key_id:Optional[BytesOrStr]) -> Sequence[SSHPKCS11KeyPair]Return the private keys found on this token
method
asyncssh.pkcs11.SSHPKCS11Session.open(token:Token, pin:Optional[str]) -> 'SSHPKCS11Session'Open a new session, or return an already-open one
class
asyncssh.process.SSHClientProcessSSH client process handler
method
asyncssh.process.SSHClientProcess.exit_signal() -> Optional[Tuple[str, bool, str, str]]Exit signal information for the process
method
asyncssh.process.SSHClientProcess.exit_status() -> Optional[int]The exit status of the process
method
asyncssh.process.SSHClientProcess.feed_exception(exc:Exception) -> NoneFeed exception to the channel
method
asyncssh.process.SSHClientProcess.redirect_stderr(target:ProcessTarget, bufsize:int=io.DEFAULT_BUFFER_SIZE, recv_eof:bool=True) -> NoneRedirect standard error of the process
method
asyncssh.process.SSHClientProcess.redirect_stdin(source:ProcessSource, bufsize:int=io.DEFAULT_BUFFER_SIZE, send_eof:bool=True) -> NoneRedirect standard input of the process
method
asyncssh.process.SSHClientProcess.redirect_stdout(target:ProcessTarget, bufsize:int=io.DEFAULT_BUFFER_SIZE, recv_eof:bool=True) -> NoneRedirect standard output of the process
method
asyncssh.process.SSHClientProcess.session_started() -> NoneStart a process for this newly opened client channel
class
asyncssh.process.SSHProcessSSH process handler
この情報について
掲載しているシグネチャは ronf/asyncssh の公開ソースコードを
Python の ast モジュールで静的解析し、引数名・デフォルト値・
型注釈・戻り値型をそのまま抽出したものです。実装コードは保存していません。
詳しくは仕組みの解説をご覧ください。