azure - AKS : Logging into worker nodes and get Permission denied (publickey)

标签 azure kubernetes azure-container-service

AKS - 无法登录到工作节点 (VM) 之一。我按照https://gist.github.com/tsaarni/624d5406e442f08fe11083169c059a68分配了公共(public)IP但仍然没有运气。我收到以下错误:

JohnDoeMac:.kube john_doe$ ssh [email protected] Permission denied (publickey).

这里的订阅 ID 如下所示:e84ff951-xxxxxxxxxxxx

最佳答案

如果从 Azure 门户创建 AKS,则可以指定 VM 的用户名。

在这种情况下,用户名不再是azureuser

您可以从Azure门户找到用户名和公钥

enter image description here

关于azure - AKS : Logging into worker nodes and get Permission denied (publickey),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48162093/

相关文章:

kubernetes - 特定微服务的蓝绿部署

azure - 创建 azure 容器服务集群失败,错误为 azure graph 权限不足

python - 使用 kubernetes python 客户端将文件从 pod 复制到主机

c# - 指向站点某个区域的另一个域

c# - Excel 互操作库无法在 Azure 上运行

python - Microsoft Azure情感API返回[ "statusCode": 404, "message": "Resource not found"]错误

docker - 更改静态目录的所有权在kubernetes中不起作用

Azure Kubernetes 私钥位置

sql-server - 无法从 Management Studio 连接到 Azure 上的 Kubernetes (ACS) 上的 SQL Server 容器

azure - AKS 的 key 保管库问题