Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
set -eux
set -o pipefail
# for ubuntu
adduser ${user}
gpasswd -a ${user} wheel
sudo -u ${user} mkdir /home/${user}/.ssh
curl -f${user}.keys | tee -a /home/${user}/.ssh/authorized_keys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.