How to set StrictHostKeyChecking "no"? #2270
Unanswered
garak
asked this question in
Help needed
Replies: 3 comments 1 reply
|
In Deployer v7 ssh options were refactored. You can do it like this: host('deployer.org')
->setSshArguments(['-o StrictHostKeyChecking=no']);There is always PS Docs updates will be soon, with a better explanation of why this refactoring was introduced. |
0 replies
|
I'm still in trouble... but I see (using
resulting in an access denied error, because the user is not specified |
1 reply
|
Instead of disabling the host key check you can add the host key before executing deployer by running: |
0 replies
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.
Using version 7-beta3, with this config:
I'm getting problem about "authenticity of host can't be established", with question "you sure you want to continue connecting (yes/no)?"
In a context of CI, where I can't reply to such question, how can I set
StrictHostKeyChecking=no?I tried with this:
but it doesn't work, I'm getting error
ssh: Could not resolve hostname no: No address associated with hostnameAll reactions