Commit 1cb6435f authored by Alan Nelson's avatar Alan Nelson
Browse files

Generate known_hosts file

parent 513bf915
......@@ -12,4 +12,17 @@ LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.schema-version="1.0" \
maintainer="Alan Nelson <alan.nelson@nebraska.edu>"
RUN apk add --no-cache openssh-client ca-certificates rsync
\ No newline at end of file
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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment