sách gpt4 ai đã đi

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

In lại 作者:太空宇宙 更新时间:2023-11-04 12:20:14 30 4
mua khóa gpt4 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.

BẰNGtài liệu , ./ssh 目录下应该有 .pem 文件。但是在我的 Ubuntu 机器上我没有找到那个位置的 .pem 文件。

1 Câu trả lời

您应该将您的 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/

30 4 0
太空宇宙
Hồ sơ cá nhân

Tôi là một lập trình viên xuất sắc, rất giỏi!

Nhận phiếu giảm giá Didi Taxi miễn phí
Mã giảm giá Didi Taxi
Giấy chứng nhận ICP Bắc Kinh số 000000
Hợp tác quảng cáo: 1813099741@qq.com 6ren.com