Can’t connect to ssh or NoMachine on Google cloud platform Linux VM

Forum / NoMachine for Linux / Can’t connect to ssh or NoMachine on Google cloud platform Linux VM

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #23265
    Santa000
    Participant

    So I created a free tier VM on Google cloud platform , installed Linux  Ubuntu 14.0 on it. Followed this guide for reference to setup NoMachine on it to use the GUI.

    Accessing your remote desktop on Google Cloud Platform via NoMachine

    Everything was fine until I reached the step where you edit the sshd_config file, I switched to root user , then edited the file and changed the necessary string to Yes for password authentication. Saved the file. Restarted the VM. This is where the problems started. The next step would be to ssh into the vm again and install NoMachine on it.

    But I cant ssh into the machine anymore modifying the sshd_config file, It shows me an error saying cant connect to VM instance on port 22.

    Any help would be appreciated.

    #23296
    Tom
    Participant

    Hello Santa000,
    Thank you for your comment.
    You have a connection to the machine but you cannot login?
    Do you use VM “External IP” to connect?
    What error do you get when you connect?

    In the link below you can check how to solve the most common problems with the ssh connection
    https://cloud.google.com/compute/docs/ssh-in-browser#ssherror

    Regards,
    Tom

Viewing 2 posts - 1 through 2 (of 2 total)

This topic was marked as solved, you can't post.