ops: correct key perms

This commit is contained in:
Hunter Miller 2023-02-01 17:09:09 -06:00
parent ae36a982b8
commit da3c824857

View File

@ -35,7 +35,7 @@ echo "$cmds" >> "$cmdfile"
sshpriv=$(mktemp "${TMPDIR:-/tmp/}ssh.XXXXXXXXX")
sshpub="$sshpriv".pub
echo "$SSH_PUB_KEY" >> "$sshpub"
cat $sshpub
chmod 600 $sshpub
echo "$SSH_SEC_KEY" >> "$sshpriv"
gcloud compute \