共用方式為


SshKeyPair interface

用來向 VM 進行驗證的 SSH 金鑰組。 密鑰至少必須是 2048 位,且格式為 ssh-rsa。 如需建立 ssh 金鑰,請參閱 在 Azure中建立 Linux 和 Mac 上的 SSH 金鑰。

屬性

privateKey

SSH 私密金鑰。

publicKey

SSH 公開金鑰

屬性詳細資料

privateKey

SSH 私密金鑰。

privateKey?: string

屬性值

string

publicKey

SSH 公開金鑰

publicKey?: string

屬性值

string