Skip to content
Snippets Groups Projects
Commit 1cb6435f authored by Alan Nelson's avatar Alan Nelson
Browse files

Generate known_hosts file

parent 513bf915
No related branches found
No related tags found
1 merge request!49Generate known_hosts file
...@@ -13,3 +13,16 @@ LABEL org.label-schema.build-date=$BUILD_DATE \ ...@@ -13,3 +13,16 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
maintainer="Alan Nelson <alan.nelson@nebraska.edu>" maintainer="Alan Nelson <alan.nelson@nebraska.edu>"
RUN apk add --no-cache openssh-client ca-certificates rsync 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment