home · contact · privacy
Fix server meet preparation script bug.
authorChristian Heller <c.heller@plomlompom.de>
Sat, 15 Dec 2018 11:44:15 +0000 (12:44 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Sat, 15 Dec 2018 11:44:15 +0000 (12:44 +0100)
all_new_2018/prepare_to_meet_server.sh

index 1e73ae0c685a90f1d4491bd83a097fd8c51956f4..13d05ca33dfdf8c4305c43f3cdf66abc0123d4ee 100755 (executable)
@@ -11,7 +11,7 @@ fi
 
 # Add target to ~/.ssh/known_hosts so we don't get
 # asked for permission at inopportune moments.
-ssh-keyscan -H "$target"
+ssh-keyscan -H "$target" >> ~/.ssh/known_hosts
 
 # Tell user what to do.
 echo "APPEND FOLLOWING TO TARGET'S ~/.ssh/authorized_keys:"