SshKeyPair interface

The SSH Key-pair used to authenticate with the VM. 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.

Properties

privateKey

SSH private key.

publicKey

SSH public key

Property Details

privateKey

SSH private key.

privateKey?: string

Property Value

string

publicKey

SSH public key

publicKey?: string

Property Value

string