Skip to content
Permalink
Browse files

Added code to output basic auth password after keys generation (#1115)

  • Loading branch information...
michaelkruglos committed Feb 17, 2019
1 parent 3deea4c commit 4ce2af1b4258ce6e3e6a36713a45bc7ca14c6d2b
Showing with 3 additions and 0 deletions.
  1. +3 −0 utils/generate_keys.sh
@@ -9,4 +9,7 @@ mkdir -p ssh
mv private-key.pem ssh/id_rsa # ssh private key
mv public_ssh ssh/id_rsa.pub # ssh public key
rm certificate.pem # use certificate.pfx
echo Basic Authentication password:
cat ssh/id_rsa | base64 -w 0 | md5sum | cut -d " " -f1 \
| python -c 'import sys;print sys.stdin.read().rstrip("\r\n").decode("hex")' | base64

0 comments on commit 4ce2af1

Please sign in to comment.
You can’t perform that action at this time.