LinuxUserConfiguration.SshPrivateKey Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the SSH private key for the user account.
public string SshPrivateKey { get; set; }
member this.SshPrivateKey : string with get, set
Public Property SshPrivateKey As String
Property Value
Remarks
The private key must not be password protected. The private key is used to automatically configure asymmetric-key based authentication for SSH between nodes in a Linux pool when the pool's InterComputeNodeCommunicationEnabled property is true (it is ignored if InterComputeNodeCommunicationEnabled is false). It does this by placing the key pair into the user's .ssh directory. If not specified, password-less SSH is not configured between nodes (no modification of the user's .ssh directory is done)
Applies to
Azure SDK for .NET