From a3bd1f08a0771d68e189f3a0c1942c06a91abaf8 Mon Sep 17 00:00:00 2001 From: vgkowski Date: Fri, 12 May 2017 15:33:39 +0200 Subject: [PATCH] Update ssh-bastion.conf --- roles/bastion-ssh-config/templates/ssh-bastion.conf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/roles/bastion-ssh-config/templates/ssh-bastion.conf b/roles/bastion-ssh-config/templates/ssh-bastion.conf index ebb380665..60d82d5ab 100644 --- a/roles/bastion-ssh-config/templates/ssh-bastion.conf +++ b/roles/bastion-ssh-config/templates/ssh-bastion.conf @@ -16,6 +16,5 @@ Host {{ bastion_ip }} ControlPersist 5m Host {{ vars['hosts'] }} - ProxyCommand ssh -W %h:%p {{ real_user }}@{{ bastion_ip }} - StrictHostKeyChecking no + ProxyCommand ssh -W %h:%p -o StrictHostKeyChecking=no {{ real_user }}@{{ bastion_ip }} {% endif %}