Implementation of the base SSH packet protocol.
|
__init__(self,
socket)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
set_log(self,
log)
Set the Python log object to use for logging. |
source code
|
|
|
set_outbound_cipher(self,
block_engine,
block_size,
mac_engine,
mac_size,
mac_key,
sdctr=False)
Switch outbound data cipher. |
source code
|
|
|
set_inbound_cipher(self,
block_engine,
block_size,
mac_engine,
mac_size,
mac_key)
Switch inbound data cipher. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
read_all(self,
n,
check_rekey=False)
Read as close to N bytes as possible, blocking as long as necessary. |
source code
|
|
|
|
|
|
|
send_message(self,
data)
Write a block of data using the current cipher, as an SSH block. |
source code
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|