Skip to content

Commit

Permalink
Ensure the SSH files have the right permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
maxcnunes committed Apr 22, 2016
1 parent fca9960 commit 4c022bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ONVAULT
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ if curl -s "${VAULT_URI}/_ping"; then
log "Downloading private keys..."
curl -s "${VAULT_URI}/ssh.tgz" | tar -C ~/.ssh/ -zxf -
chown `whoami` ~/.ssh/*
chmod 600 ~/.ssh/*

log "Using ssh key: $VAULT_SSH_KEY"
if [[ "$VAULT_SSH_KEY" != "id_rsa" ]]; then
Expand Down

0 comments on commit 4c022bf

Please sign in to comment.