ops: use correct alias

This commit is contained in:
Hunter Miller 2023-02-01 17:03:29 -06:00
parent f58b78a488
commit d1d83d629d

View File

@ -35,12 +35,12 @@ echo "$cmds" >> "$cmdfile"
sshpriv=$(mktemp "${TMPDIR:-/tmp/}ssh.XXXXXXXXX")
sshpub="$sshpriv".pub
echo "$SSH_PUB_KEY" >> "$sshpub"
echo "$SSH_SEC_KEY" >> "$sshfile"
echo "$SSH_SEC_KEY" >> "$sshpriv"
gcloud compute \
--project mainnet \
ssh \
--ssh-key-file "$sshfile" \
--ssh-key-file "$sshpriv" \
--ssh-flag="-T" \
--zone "$zone" --verbosity info \
urb@"$ship" < "$cmdfile"