ssh.key¶
-
class
ssh.key.
SSHKey
¶ -
ecdsa_name
(self)¶
-
export_privkey_file
(self, filepath, passphrase=None)¶
-
export_privkey_to_pubkey
(self)¶
-
export_pubkey_base64
(self)¶
-
is_private
(self)¶
-
is_public
(self)¶
-
key_type
(self)¶
-
-
ssh.key.
copy_cert_to_privkey
(SSHKey cert_key, SSHKey priv_key)¶
-
ssh.key.
generate
(KeyType key_type, int bits)¶
-
ssh.key.
import_cert_base64
(bytes b64_cert, KeyType key_type)¶
-
ssh.key.
import_cert_file
(filepath)¶
-
ssh.key.
import_privkey_base64
(bytes b64_key, passphrase=b'')¶
-
ssh.key.
import_privkey_file
(filepath, passphrase=b'')¶
-
ssh.key.
import_pubkey_base64
(bytes b64_key, KeyType key_type)¶
-
ssh.key.
import_pubkey_file
(filepath)¶