not able to connect SSH

I am connecting SSH from here.

adcimp.png
When I open it, it is showing this error: 

AdConnector_0-1713955147689.png

 

4 1 66
1 REPLY 1

Hello @AdConnector ,

Welcome on Google Cloud Community. FRom error we can read that something is wrong with sshd service. If you are able to reboot this machine via "RESET" option, please do it. If this will not fix your problem, please follow my guide to be sure that SSH port is enabled. Once done, we will try to fix this via serial-console 🙂 
1. Go to your VM -> Details for particular VM -> Network interfaces -> network -> Click at provided network ( in most cases "default" )
2. Search for "FIREWALLS" tab -> ADD FIREWALL RULE -> Provide
* Name: ssh-forr-vm
* Network:  YOUR_NETWORK
* Prriority: do not change default settings
* DIrection of traffic: :Ingress
* Action on match: Allow
*Targets: All instances in the network
*Source IPv4 ranges: 0.0.0.0/0
* Specified protocols: TCP, port 22
3. Create

This should allows ssh for ALL VMs within network. It's not best idea however, we want to check if you are able to log in to VM in general. 
cheers,
DamianS

Top Labels in this Space