google-cloud-sdk icon indicating copy to clipboard operation
google-cloud-sdk copied to clipboard

In the .ssh/config file, generated by 'gcloud compute config-ssh' command , need to manually put double quotes around parameter values that have whitespaces.

Open rmpasswd opened this issue 9 months ago • 0 comments

gcloud compute config-ssh command generates this ssh config file:

Image

Note the whitespace. Unfortunately, my windows username has whitespace in it!

Image

For now, I can manually put quotes around the values and connect successfully.

I cannot find gcloud cli source code in their github, only gsutil exists. #12

rmpasswd avatar Mar 29 '25 04:03 rmpasswd