How to enable ssh port 22 google cloud vm
How to enable ssh port 22 google cloud vm
1: SSh to vm and root access vps.
sudo -s
2: Edit file sshd_config
vi /etc/ssh/sshd_config
And edit same :
3 : Restart sshd.service
systemctl restart sshd.service