Udostępnij za pośrednictwem


ComputeNodeUser.SshPublicKey Property

Definition

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).

Applies to