SshPublicKey Class
Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed.
Constructor
SshPublicKey(*args: Any, **kwargs: Any)
Variables
| Name | Description |
|---|---|
|
key_data
|
SSH public key certificate used to authenticate with the VM through ssh. The
key needs to be at least 2048-bit and in ssh-rsa format. |
Attributes
key_data
SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at
least 2048-bit and in ssh-rsa format.
For creating ssh keys, see Create SSH keys on
Linux and Mac for Linux VMs in Azure.
key_data: str | None