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
Solved! Go to 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
Hello @irsyadsamsul ,Welcome on Google Cloud Community.
Okay, so what is your configuration for those VMs?
Did you've tried to use different SSH Client, like MobaXterm ?--
cheers,
DamianS
LinkedIn medium.com Cloudskillsboost
Hi @DamianS ,
Im using ubuntu for the OS with default firewall policy configuration and putty for the SSH client. It is strange because i can remote the 1st VM which has same configuration with my 2nd VM. I did reset and tried to turn off my 1st VM but still same.
here I attach firewall rules
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
Hi Damian,
Now I can ssh both of my instances from local SDK by stopped and started the VM. I did stop start the instance before but I do not know why this time solving my SSH problem. By the way thanks for the suggestion.
Warm Regards,
Irsyad