SCM GIT export in Rundeck with remote SSH repository fails with SSH's "The authenticity of host can't be established. Are you sure you want to continue connecting?"

264 views
Skip to first unread message

Slava

unread,
Jan 11, 2017, 1:04:30 PM1/11/17
to rundeck-discuss
Hi all,
I am surprised I am unable to find anywhere answer to this, it looks very basic and something that everyone who uses SCM GIT export would face.

I try set up SCM GIT export in Rundeck, it fails on the stage of initial setup with the following error message:

Failed cloning the repository from ssh://user@gitserver/~/rundeckJobs.git: ssh://user@gitserver:22: org.eclipse.jgit.transport.CredentialItem$YesNoType:The authenticity of host 'user@gitserver' can't be established. RSA key fingerprint is *******. Are you sure you want to continue connecting?

I understand that this is the message of SSH that is thrown upon first connect. I have tried switching to rundeck user and connecting to that server manually, in interactive mode, I have answered "yes" to this question, but the problem still stays.

Does Rundeck have it's own known_hosts file or something? How do I overcome this?

zbignie...@farmaprom.pl

unread,
Jan 13, 2017, 4:58:37 AM1/13/17
to rundeck-discuss
I had the same problem recently and yes rundeck has it's own known_hosts in /var/lib/rundeck/.ssh/. You can generate new record like this "ssh-keyscan host.example.com >> /var/lib/rundeck/.ssh/known_hosts". After this rundeck should connect without problems.
Reply all
Reply to author
Forward
0 new messages