From c6ec102073d160b3d450a7773ea37f113be9f393 Mon Sep 17 00:00:00 2001
From: Alan Nelson <alan.nelson@nebraska.edu>
Date: Mon, 13 Jul 2020 18:44:04 +0000
Subject: [PATCH] Add IPs to known_hosts

---
 alpine-ssh-client/Dockerfile | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/alpine-ssh-client/Dockerfile b/alpine-ssh-client/Dockerfile
index 1695f7a..e9cd765 100644
--- a/alpine-ssh-client/Dockerfile
+++ b/alpine-ssh-client/Dockerfile
@@ -16,13 +16,13 @@ RUN apk add --no-cache openssh-client ca-certificates rsync
 
 RUN mkdir -p ~/.ssh && chmod 700 ~/.ssh \
     && touch ~/.ssh/known_hosts && chmod 644 ~/.ssh/known_hosts \
-    && ssh-keyscan its-lampinteg1.unl.edu\
-                   its-lampstage1.unl.edu \
-                   its-lampprod1.unl.edu \
-                   its-linprod2.unl.edu \
-                   y1cap.unl.edu \
-                   passel2.unl.edu \
-                   buros-apps.unl.edu \
-                   its-lrc2.unl.edu \
-                   its-ads-saml-proxy.unl.edu \
-                   >> ~/.ssh/known_hosts
+    && ssh-keyscan -H its-lampinteg1.unl.edu,129.93.168.14 \
+                      its-lampstage1.unl.edu,129.93.168.50 \
+                      its-lampprod1.unl.edu,129.93.168.36 \
+                      its-linprod2.unl.edu,129.93.169.114 \
+                      y1cap.unl.edu,129.93.169.153 \
+                      passel2.unl.edu,129.93.168.221 \
+                      buros-apps.unl.edu,129.93.168.136 \
+                      its-lrc2.unl.edu,129.93.168.197 \
+                      its-ads-saml-proxy.unl.edu,129.93.168.174 \
+                      >> ~/.ssh/known_hosts
-- 
GitLab