Skip to content

Instantly share code, notes, and snippets.

@hoox
Last active August 18, 2017 01:31
Show Gist options
  • Save hoox/c0cf86b9a6fad32c0f164de0dacd3c44 to your computer and use it in GitHub Desktop.
Save hoox/c0cf86b9a6fad32c0f164de0dacd3c44 to your computer and use it in GitHub Desktop.
Generate a Basic Auth string

Generate a Basic Auth string

echo -n "user:pass" | openssl base64 -a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment