Google cloud platform gcloud command cheatsheet
Download and install gcloud command line tool
Unzip the file and run these inside the unzipped package directory.
.install.sh .install.sh init source ~/.bash_profile
ssh into a compute engine server
gcloud compute ssh user@your-server-name-1-vm
Download a folder from the server through scp
gcloud compute scp --recurse user@your-server-name-1-vm:/path/to/the/directory/that/you/want/to/download/to/your/local/machine/ ./
Logout gcloud from the command line window
gcloud auth revoke --all
Login to gcloud from the command line window, it will fire up the browser and ask you to login.
gcloud auth login
Search within Codexpedia
Custom Search
Search the entire web
Custom Search
Related Posts