blob: 80d9e68795b5d1e9725f4689b3eb64a8d7e41b1d [file] [log] [blame] [edit]
#!/bin/bash
# This script is used to run commands on a Google Cloud instance via SSH
# Define the variables for Google Cloud project, zone, username, and instance
PROJECT_ID="ucr-ursa-major-sridharan-lab"
ZONE="us-central1-a"
USER="root"
INSTANCE="nullway-jmh"
gcloud compute ssh --project=$PROJECT_ID --zone=$ZONE $USER@$INSTANCE --command="$1"