This file contains 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
mkdir ~/.ssh \ | |
&& touch ~/.ssh/authorized_keys \ | |
&& chmod 700 ~/.ssh \ | |
&& chmod 600 ~/.ssh/authorized_keys |
This file contains 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/bash | |
# | |
# Download and executes a remote GitHub gist | |
# it will store a local cache to improve performances | |
# | |
# run `./script --update` to flush local cache | |
# | |
# -- Custom Settings |
This file contains 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/bash | |
# | |
# wget -O - https://gist.github.com/marcopeg/3e8a5045459816aef64378d7ed2421e3/raw | bash -s my_custom_user | |
# | |
PASS=$(date | sha256sum | base64 | head -c 32) | |
USER=${1:-duser} | |
# Create Docker User |
NewerOlder