aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Duraffort <remi.duraffort@linaro.org>2014-06-23 14:51:55 +0200
committerRémi Duraffort <remi.duraffort@linaro.org>2014-06-23 14:51:55 +0200
commitd894fa61d2bcfe4b6d48f2faeea2781ecf3a7036 (patch)
tree5619f40379c9c53b8005ee961ad48ee2a56f8e03
parent059eaa2d496722920a873cb1e3f4146b826a9f54 (diff)
downloadhacking-sessions-d894fa61d2bcfe4b6d48f2faeea2781ecf3a7036.tar.gz
Do not write into the user know host file
This will generate huge warnings if the server is then changed Change-Id: Ic9f895a9c51350832facff55ecce34380faf70d8
-rwxr-xr-xinvoke_session_debian1
-rwxr-xr-xinvoke_session_oe1
2 files changed, 2 insertions, 0 deletions
diff --git a/invoke_session_debian b/invoke_session_debian
index 224c5a7..e71189d 100755
--- a/invoke_session_debian
+++ b/invoke_session_debian
@@ -22,6 +22,7 @@ echo ""
echo "*******************************************************************************************************"
echo -n "Please connect to: "
echo -n "ssh "
+echo -n "-o UserKnownHostsFile=/dev/null "
echo -n "-o StrictHostKeyChecking=no "
echo -n "root@"
echo -n $ip_addr
diff --git a/invoke_session_oe b/invoke_session_oe
index b171d21..59b7847 100755
--- a/invoke_session_oe
+++ b/invoke_session_oe
@@ -20,6 +20,7 @@ echo ""
echo "*********************************************************************************************"
echo -n "Please connect to: "
echo -n "ssh "
+echo -n "-o UserKnownHostsFile=/dev/null "
echo -n "-o StrictHostKeyChecking=no "
echo -n "root@"
echo -n $ip_addr