Skip to content

Instantly share code, notes, and snippets.

@jkullick
Last active November 4, 2020 20:46
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jkullick/5a03b8cc3eaa463c45b3b917551d9d8c to your computer and use it in GitHub Desktop.
Save jkullick/5a03b8cc3eaa463c45b3b917551d9d8c to your computer and use it in GitHub Desktop.
Generate .htpasswd with OpenSSL
printf "$USER:$(openssl passwd -crypt $PASSWORD)\n" >> .htpasswd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment