Package version:

Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see Linux on Azure-Endorsed Distributions.

interface LinuxConfiguration {
    disablePasswordAuthentication?: boolean;
    osType: "Linux";
    ssh?: SshConfiguration;
    sshKeyPair?: SshKeyPair;
}

Hierarchy (view full)

Properties

disablePasswordAuthentication?: boolean

Specifies whether password authentication should be disabled.

osType

The OS Type

Specifies the ssh key configuration for a Linux OS. (This property is deprecated, please use 'sshKeyPair' instead)

sshKeyPair?: SshKeyPair

The SSH Key-pair used to authenticate with the VM's.