ssh2.pkey¶
- class ssh2.pkey.PublicKey¶
Extension class for representing public key data from libssh2.
Can be used for authentication via
ssh2.agent.Agent.userauth()
- blob¶
Blob of public key data.
- Return type
bytes
- blob_len¶
Blob length of public key.
- Return type
int
- comment¶
Public key comment
- Return type
bytes
- magic¶
Magic number of public key.
- Return type
int