rundeck-ConfigurationFailure:SSH密钥文件不存在



当我在Rundeck中尝试一个命令时,它显示:

Failed: ConfigurationFailure: SSH Keyfile does not exist: ~/.ssh/id_rsa
Execution failed: 19: [Workflow step failures: {1=Dispatch failed on 1 nodes: [my.server.com: ConfigurationFailure: SSH Keyfile does not exist: ~/.ssh/id_rsa]}, Node failures: {my.server.com=[ConfigurationFailure: SSH Keyfile does not exist: ~/.ssh/id_rsa]}]

我已经生成了ssh密钥,我可以使用它来连接ssh,而无需密码。

在rundeck机器中,密钥在~/.ssh/id_rsa 中生成

在远程机器中,密钥被复制到~/.ssh/authorized_keys

我做错什么了吗?

检查项目设置,列出的"默认SSH密钥"是什么?

  • Rundeck管理文档

如果值为"var/lib/rundeck/.ssh/id_rsa",则表示您已使用Debian或RPM软件包安装了rundeck。在这种情况下,Rundeck以不同的用户身份执行,解释为什么主目录中的键没有被使用。

最新更新