Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

cannot ssh to vm using gcloud SDK

Hi all,

I cannot ssh to my 2nd VM and it says "Network error: Connection timed out" with my glcoud SDK on my local computer.  but I can do SSH via browser. could you please help me? because 2nd VM configuration is same with my 1st VM and my 1st VM running normal

irsyadsamsul_0-1719887143410.png

 

Solved Solved
4 4 297
1 ACCEPTED SOLUTION

Are you able to SSH between those VMs? 
1. Try to log in via different SSH client. 
2. Additionally, would be good to check logs when you are performing SSH via PuTTy. If you can log in via browser ssh, please do. Then do under terminal 
tail -f /var/log/auth.log. Next, try to log in via PuTTy. Increase verbosity for PuTTy following https://centrify.my.site.com/articles/Knowledge/KB-5452-How-to-enable-debug-for-PuTTy-SSH-clients

3. paste outputs here

--
cheers,
DamianS
LinkedIn medium.com Cloudskillsboost

View solution in original post