Last active
February 6, 2018 09:05
-
-
Save mosluce/a81f9652545ec8a0e90826f8bd0c7663 to your computer and use it in GitHub Desktop.
ssh keygen
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM alpine | |
RUN apk add --no-cache openssh-client | |
ADD ./entrypoint.sh /entrypoint.sh | |
RUN chmod +x /entrypoint.sh | |
VOLUME [ "/root/.ssh" ] | |
ENTRYPOINT [ "./entrypoint.sh" ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
ssh-keygen -q -f /root/.ssh/id_rsa -P "" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment