ComputeNodeUser.SshPublicKey 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 public key that can be used for remote login to the compute node.
public string SshPublicKey { get; set; }
member this.SshPublicKey : string with get, set
Public Property SshPublicKey As String
Property Value
Remarks
The public key should be compatible with OpenSSH encoding and should be base 64 encoded. This property can be specified only for Linux Compute Nodes. If this is specified for a Windows Compute Node, then the Batch service rejects the request; if you are calling the REST API directly, the HTTP status code is 400 (Bad Request).