ComputeInstanceSshSettings interface
Specifies policy and settings for SSH access.
Properties
admin |
Specifies the SSH rsa public key file as a string. Use "ssh-keygen -t rsa -b 2048" to generate your SSH key pairs. |
admin |
Describes the admin user name. NOTE: This property will not be serialized. It can only be populated by the server. |
ssh |
Describes the port for connecting through SSH. NOTE: This property will not be serialized. It can only be populated by the server. |
ssh |
State of the public SSH port. Possible values are: Disabled - Indicates that the public ssh port is closed on this instance. Enabled - Indicates that the public ssh port is open and accessible according to the VNet/subnet policy if applicable. |
Property Details
adminPublicKey
Specifies the SSH rsa public key file as a string. Use "ssh-keygen -t rsa -b 2048" to generate your SSH key pairs.
adminPublicKey?: string
Property Value
string
adminUserName
Describes the admin user name. NOTE: This property will not be serialized. It can only be populated by the server.
adminUserName?: string
Property Value
string
sshPort
Describes the port for connecting through SSH. NOTE: This property will not be serialized. It can only be populated by the server.
sshPort?: number
Property Value
number
sshPublicAccess
State of the public SSH port. Possible values are: Disabled - Indicates that the public ssh port is closed on this instance. Enabled - Indicates that the public ssh port is open and accessible according to the VNet/subnet policy if applicable.
sshPublicAccess?: string
Property Value
string