Unable to connect to Minecraft server with SSH

Category: azure vm

Question

Rich Lewis on Sat, 27 Feb 2016 00:03:30


I followed this blog post to create an Ubuntu Minecraft server, using the gallery image for the "recommended" Minecraft server (the image name is just "Minecraft server" in the gallery)

Creating and Operating a Minecraft Server in Microsoft Azure

The instructions say after I set up the VM, I can connect with SSH.  The VM says the SSH endpoint is configured on port 22, so that should work, but when I try to connect with SSH I don't get any connection.  Its not an auth failure, it never prompts me for a username.

Seems like SSH is just not running on that server, but I'm using the image from the gallery so I assume its configured with SSH, especially since that's what the blog post says to do.  Is the image broken or did I do something wrong?

Has anyone else used this image fromt he gallery to create a Minecraft server?  I'd like to hear from anyone who has done this and was able to connect with SSH, or if there is an extra step I missed?

Replies

Kamalakar K on Sat, 27 Feb 2016 18:33:31


Hello Rich,

Greetings!

We are pleased to answer your query. With regards to your query, this Image don't have any fault as i am successfully deployed and able to SSH to the virtual machine. I would suggest you to follow the troubleshooting steps mentioned in the article unable to SSH to Azure Linux VM.

Hope this helps!

Best Regards

Kamalakar

_____________________________________________________________________

If a post answers your question, please click Mark As Answer on that post and Vote as Helpful.

Rich Lewis on Mon, 29 Feb 2016 04:02:59


Thanks for looking in to this.  Did you create the VM using manage.windowsazure.com or the new portal(portal.azure.com)?  I'm not sure if it makes a difference but the VMs seem to be a little bit different.

I did look at the https://azure.microsoft.com/en-in/documentation/articles/virtual-machines-troubleshoot-ssh-connections/ and did not see anything helpful there. 

However, I did run the health check on the virtual machine which failed.  I opened a support ticket but I'm still waiting for a response, but I don't see any reason why the VM would be in an unhealthy state since all I did was create the VM from the gallery image.

I can try creating another Linuz VM and see if I can SSH in to that, what image would you recommend using as a test?  I'm looking for the simplest possible configuration to start eliminating sources of problems.

G Bowerman (MSFT) on Mon, 29 Feb 2016 10:52:56


Couple of things to check.

1. Could you connect to Minecraft using the Minecraft launcher? If so the VM is healthy.

2. The original article mentions: click on All settings->Endpoints to find the SSH public port - i.e. the SSH public port might not be 22. Can you check there in the browser?


Kamalakar K on Wed, 02 Mar 2016 17:39:48


Hello Rich,

Greetings!

We are pleased to answer your query. With regards to your query, i have used New Portal to create the VM and also from here.

Make sure you followed the steps mentioned in above post by Bowerman. If still have the issue, Then we would need needs in-depth troubleshooting as we will need to find out the root cause. As this is beyond the purview of the Forums Support, we would suggest you to work with our  engineers for better assistance. As we would need sensitive information regarding the Subscription details which should not be disclosed on the Public Forums.

I would request you to share the SR Number through our Twitter team @AzureSupport to check the status of the request. You can directly message them with the SR number referring this thread.

Hope this helps!

Best Regards

Kamalakar

_____________________________________________________________________

If a post answers your question, please click Mark As Answer on that post and Vote as Helpful.