StrictHostKeyChecking/New SSH target in version 7 #3127
Unanswered
mikestreety
asked this question in
Help needed
Replies: 1 comment 1 reply
-
This should do the work: set('ssh_arguments', ['-o StrictHostKeyChecking=no']); You can try to debug why it's now working with -vvv option. What ssh command is executed? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! Thanks for deployer, it's great!
I'm migrating my process to running off Gitlab CI but am running into a wall with the
ssh multiplexing initialization
stages. We have many clients with many servers, so don't want to have to embed "known_hosts" for each of the servers into the docker runner or manually specify hosts in the CI file.I'm talking of a way to get round the following:
I was wondering how I could integrate a
StrictHostKeyChecking
style option into the code?I've tried all different versions of this to no avail (I notice a variation is mentioned in the 6.x docs)
I also wondered if I could add a custom task with a
ssh-keyscan
orssh XXX -oStrictHostKeyChecking=no
but I couldn't work out how to extract the user, host and port to build it.Any help or advice would be appreciated
Beta Was this translation helpful? Give feedback.
All reactions