gpt4 book ai didi

linux - 无法使用 dcos 节点 ssh --master-proxy --leader sshing 进入 dcos 节点

转载 作者:太空宇宙 更新时间:2023-11-04 12:20:14 29 4
gpt4 key购买 nike

我是 dcos Mesos 的新手,在本地 Ubuntu 机器上安装了 dc os。

我可以查看 dcos 仪表板。

但我无法使用 dcos node ssh --master-proxy --leader sshing 主节点。它说:

There is no SSH_AUTH_SOCK env variable, which likely means you aren't running ssh-agent. dcos node ssh --master-proxy/--proxy-ip depends on ssh-agent to safely use your private key to hop between nodes in your cluster. Please run ssh-agent, then add your private key with ssh-add.

作为documentation , ./ssh 目录下应该有 .pem 文件。但是在我的 Ubuntu 机器上我没有找到那个位置的 .pem 文件。

最佳答案

您应该将您的 key 添加到您的 ssh 代理:这通常由 ssh-add keyname 完成,这需要您的 ssh-agent运行。

如果您没有提交 pem 文件,这通常意味着您之前没有生成过 key 。使用 ssh-keygen 执行此操作。

顺便说一句,您引用的是旧版本的文档,我假设您可能正在运行 1.9 或 1.10 集群,因此我会确保使用相应的文档。

关于linux - 无法使用 dcos 节点 ssh --master-proxy --leader sshing 进入 dcos 节点,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46229985/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com