Commit 1e8b730b authored by Victor Nikulshin's avatar Victor Nikulshin

Disable SSH strict host key checking in docker connect command

parent b91b1c23
Pipeline #1709 failed with stages
......@@ -119,7 +119,7 @@ def connect():
"""
with lcd(env.workspace):
if docker_isrunning('{}_container'.format(env.project_name)):
local('ssh drupalizer@{} -i {}'.format(env.container_ip, h.fab_ssh_key()))
local('ssh drupalizer@{} -i {} -o StrictHostKeyChecking=no'.format(env.container_ip, h.fab_ssh_key()))
else:
print(red('Docker container {}_container is not running, it should be running to be able to connect.'))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment