ComputeNodeUser.SshPublicKey Property

Definition

Gets or sets the SSH public key that can be used for remote login to the compute node.

[Newtonsoft.Json.JsonProperty(PropertyName="sshPublicKey")]
public string SshPublicKey { get; set; }
member this.SshPublicKey : string with get, set
Public Property SshPublicKey As String

Property Value

System.String
Attributes
Newtonsoft.Json.JsonPropertyAttribute

Remarks

The public key should be compatible with OpenSSH encoding and should be base 64 encoded. This property can be specified only for Linux nodes. If this is specified for a Windows node, then the Batch service rejects the request; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).

Applies to