From 04f752c1411e49a320566ec63dafaa52b733567d Mon Sep 17 00:00:00 2001
From: Tim Schubert <tim.schubert@tu-bs.de>
Date: Thu, 17 May 2018 17:06:39 +0200
Subject: [PATCH] Echo added host key to log

---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 343e963..7572d65 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -15,7 +15,7 @@ before_script:
   - mkdir -p ~/.ssh
   - chmod 700 ~/.ssh
   - ssh-add -l
-  - ssh-keyscan localhost >> ~/.ssh/known_hosts
+  - ssh-keyscan localhost | tee ~/.ssh/known_hosts
   - chmod 644 ~/.ssh/known_hosts
   ## get API token from secret variable
   - cp python-gitlab.cfg $HOME/.python-gitlab.cfg