Skip to content

Instantly share code, notes, and snippets.

@agmm
Last active May 31, 2020 07:05
Show Gist options
  • Save agmm/34d9af6ec3bc176d1ca5b948f8e7393f to your computer and use it in GitHub Desktop.
Save agmm/34d9af6ec3bc176d1ca5b948f8e7393f to your computer and use it in GitHub Desktop.
Google Cloud Basics

Start an existing instance

gcloud compute instances start <instance name>

Start an SSH session

gcloud compute ssh [user@]<instance name>

Upload file using SCP

gcloud compute scp src [user@]<instance name>:dest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment