How to set StrictHostKeyChecking "no"? #2270
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. |
Beta Was this translation helpful? Give feedback.
-
I'm still in trouble...
but I see (using
resulting in an access denied error, because the user is not specified |
Beta Was this translation helpful? Give feedback.
-
Instead of disabling the host key check you can add the host key before executing deployer by running: |
Beta Was this translation helpful? Give feedback.
-
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 hostname
Beta Was this translation helpful? Give feedback.
All reactions