Skip to content
Snippets Groups Projects

Add IPs to known_hosts

Merged Alan Nelson requested to merge develop into master
1 file
+ 10
10
Compare changes
  • Side-by-side
  • Inline
+ 10
10
@@ -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
Loading