You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have some hooks defined in my .terra.yml file, and I'm getting an interactive prompt during the initial install/build step.
$ drush @terra.so.local4 site-install commerce_base --account-pass=admin -y
The authenticity of host '[makak.local]:32799 ([192.168.1.10]:32799)' can't be established.
ECDSA key fingerprint is SHA256:TMEHrEU/pDn8qu25BpJv8NJqv5qMTIy60aAK2RdPg8o.
Are you sure you want to continue connecting (yes/no)? yes
There's a couple ways to prevent this from happening.
Add some lines to ~/.ssh/config
Host 192.168.1.*
StrictHostKeyChecking no
UserKnownHostsFile=/dev/null
Add some additional ssh_options when terra creates the drush aliases:
From a usability perspective, 2 is clearly a better solution. But these options do have security implications. We'd need add these options for local docker environments only, because that warning is something you don't want to miss for remote URLs.
The text was updated successfully, but these errors were encountered:
jameswilson
changed the title
Avoid interactive mess with SSH connecting to localhost
Avoid interactive mess with SSH connecting to local docker environments
Jun 2, 2016
I have some hooks defined in my
.terra.yml
file, and I'm getting an interactive prompt during the initial install/build step.There's a couple ways to prevent this from happening.
From a usability perspective, 2 is clearly a better solution. But these options do have security implications. We'd need add these options for local docker environments only, because that warning is something you don't want to miss for remote URLs.
The text was updated successfully, but these errors were encountered: