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.
[Newtonsoft.Json.JsonProperty(PropertyName="sshPrivateKey")]
public string SshPrivateKey { get; set; }
[<Newtonsoft.Json.JsonProperty(PropertyName="sshPrivateKey")>]
member this.SshPrivateKey : string with get, set
Public Property SshPrivateKey As String
Property Value
- Attributes
-
Newtonsoft.Json.JsonPropertyAttribute
Remarks
The private key must not be password protected. The private key is used to automatically configure asymmetric-key based authentication for SSH between Compute Nodes in a Linux Pool when the Pool's enableInterNodeCommunication property is true (it is ignored if enableInterNodeCommunication 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 Compute Nodes (no modification of the user's .ssh directory is done).
Applies to
Azure SDK for .NET