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

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

This topic contains 1 reply, has 2 voices, and was last updated by Avatar Tom 4 weeks, 1 day ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #23265
    Avatar
    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
    Avatar
    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)

You must be logged in to reply to this topic.