Replies: 1 comment 8 replies
-
1.Did you see that the private key you filled in on the page is exactly the same as the content in the /home/dev/.ssh/id_rsa file? |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
通过Doris-manager建立集群托管,在配置SSH信任的时候,通过创建manager的sshKeyFile,尝试ssh连接失败。
异常提示信息如下:
通过日志发现在SSH.writeSshKeyFile(String sshKey, File sshKeyFile)
的时候建立的文件格式不符合要求,导致ResourceNodeAndAgentManager.checkSshConnect()
命令执行失败:ssh -o ConnectTimeOut=20 -o StrictHostKeyChecking=no -o BatchMode=yes -o PasswordAuthentication=no -i /home/dev/doris-manager/incubator-doris-manager-1.0.0-rc02/output/server/conf/sshkey-5 -p 22 [email protected] echo ok
和ssh-keygen -t rsa生成的id_rsa对比如下:
Beta Was this translation helpful? Give feedback.
All reactions