深入了解CoreOS集群与Docker,并遇到了一个SSH问题,同时试图学习如何使用船队。部署、运行服务等都进行得很好。SSH在fleetctl上执行状态时遇到问题。
$ fleetctl status hello.service
The authenticity of host 'x.x.x.x.200' can't be established.
RSA key fingerprint is xx:xx:xx:0d:b3:6b:d6:74:a5:59:03:4f:xx:xx:xx:xx.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'x.x.x.200' (RSA) to the list of known hosts.
Error running remote command: ssh: handshake failed: ssh: unable to authenticate,
attempted methods [publickey none], no supported methods remain要知道,这不是舰队的一个具体问题,但我的集群缺少正确的ssh键更改。
是否有任何顺利的方法来设置这些,或者描述如何使ssh键更改在我的服务器集群中工作的任何文章?
确实是在寻找信息,但没有任何东西是真正可靠的,我想这是我希望在我的CoreOS集群设置中得到100%正确的东西。
发布于 2015-01-05 23:28:36
在登录到初始系统时,请确保将密钥添加到SSH代理中,并确保提供了-A标志或在~/.ssh/config文件中指定了ForwardAgent。
https://serverfault.com/questions/656368
复制相似问题