You can do SSH to GCP instance from the command line with the help of GCP Cloud SDK. It will internally use putty to login to your SSH. So make sure you have putty in your system. To do SSH you can use the below command.
$ gcloud compute ssh instance_name