你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

LinuxUserConfiguration.SshPrivateKey 属性

定义

获取或设置用户帐户的 SSH 私钥。

public string SshPrivateKey { get; set; }
member this.SshPrivateKey : string with get, set
Public Property SshPrivateKey As String

属性值

注解

私钥不得受密码保护。 当池的 属性为 true 时,私钥用于自动为 Linux 池中节点之间的 SSH 配置基于非对称密钥的 InterComputeNodeCommunicationEnabled 身份验证, (如果 InterComputeNodeCommunicationEnabled 为 false) ,则忽略该身份验证。 它通过将密钥对放入用户的 .ssh 目录来执行此操作。 如果未指定,则不会在节点之间配置无密码 SSH, (不修改用户的 .ssh 目录)

适用于