Frequently used linux commands.

Dumping some linux commands which I often use so that I dont have to Google again

  1. rsync a folder to GCP Public Bucket
gsutil -m rsync -d -r public gs://<bucket-name>
  1. ssh with a key file
ssh -i <key file path> user@host
  1. Copy file from local to remote server
scp file.txt [email protected]:/remote/directory