مشاركة عبر


SshKeyPair Class

The SSH Key-pair used to authenticate with the VM. The key needs to be at least 2048-bit and in ssh-rsa format. <br>``<br> For creating ssh keys, see Create SSH keys on Linux and Mac for Linux VMs in Azure.

Constructor

SshKeyPair(*, public_key: str | None = None, private_key: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
public_key
str

SSH public key.

Default value: None
private_key
str

SSH private key.

Default value: None

Variables

Name Description
public_key
str

SSH public key.

private_key
str

SSH private key.