azure - SSH 私钥存储在 Azure 中的什么位置?

标签 azure azure-cloud-shell

我是 Azure 新手,很抱歉我的问题听起来很愚蠢。 我使用 ssh-keygen 在 Cloud shell 中创建公钥/私钥对,但该私钥保存到我的本地位置在哪里?系统没有提示我提供用于存储此私钥的本地路径,那么私钥是否存储在 Azure 中?

最佳答案

当您使用 ssh-keygen 时,默认情况下, key 对会保存到 Cloud Shell 上的目录 /home/user/.ssh 中。您可以通过单击上传/下载文件persist files in Azure Cloud Shell将文件下载到本地计算机。 .

enter image description here

有关更多信息,请阅读 Overview of Azure Cloud Shell .

关于azure - SSH 私钥存储在 Azure 中的什么位置?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63780362/

相关文章:

azure - 样板凭证代码,跨阶段、步骤、工作共享的方式?

c# - 在单例管理器类中保存对 CloudBlobContainer 对象的引用是否安全?

azure - 使用 Azure AD 进行身份验证和授权

azure - Azure 云 shell 中缺少 New-AzureADPolicy

azure - CosmosDB + 分组依据

Azure 服务计划计费

azure - New-AzScheduledQueryRule 返回 BadRequest

azure-cloud-shell - Azure Cloud Shell 运行 ps1 脚本时出现问题

azure - 通过 Azure powershell 仅获取企业应用程序

Azure Cloud shell 不切换订阅