与Docker一起挖掘CoreOS集群,并试图学习如何与舰队合作时遇到SSH问题。 部署,运行服务等进展顺利。 在fleetctl上执行状态时会出现SSH授权问题 。
$ fleetctl status hello.service The authenticity of host 'xxxx200' 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 'xxx200' (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
了解这不是一个特定的问题,但是我的集群缺less正确的ssh密钥更改。
有没有什么光滑的方式来设置这个或任何文章,描述的过程,以获得SSH密钥更改在我的服务器群集中工作?
有没有寻找信息,但没有什么感觉真的很稳固,我想这是我想在我的CoreOS群集设置100%正确的东西。
确保当你login到你的SSH代理添加了密钥的初始系统,并且你提供了-A标志或者你在~/.ssh/config文件中指定了ForwardAgent 。