Connect to a Linux VM on Windows Azure – Part 1/2

Windows Azure allows the deployment of non-Windows operating systems such as Suse, Ubuntu or CentOS. Because those operating systems do not allow connections by using remote desktop as you might know from the Windows world, you have to use SSH connections to get into the machines. This is the first of two quick posts that describe how to connect to Linux VMs by using SSH.

Part 1: This post
Part 2: https://marcelzehner.ch/2013/06/25/quick-post-connect-to-a-linux-vm-on-windows-azure-part-22/

When creating a new Linux VM in Azure you have the option to either allow connections that are secured by regular credentials or by using SSH keys. This first post shows how to use regular usernames and passwords to get in.

First let’s deploy a new Linux VM. Start the VM deployment wizard and select a Linux image from the gallery. Select the password option and enter a password of your choice.

image

After some minutes the VM is deployed. Check out the SSH details of the VM.

image

image

Now let’s try to connect to the VM by using SSH. Because I am using Windows, I use Putty for that. It can be downloaded from here. After starting the app you can enter the name/port information gathered in the step before.

image

Now click “Open”, enter the credentials and you are successfully connected to the VM.

image

In the second part I will demonstrate how to use SSH keys to connect to VMs.

Cheers
Marcel

This entry was posted in Azure and tagged , , , , , , . Bookmark the permalink.

One Response to Connect to a Linux VM on Windows Azure – Part 1/2

  1. Pingback: Quick post: Connect to a Linux VM on Windows Azure – Part 2/2 | marcelzehner.ch

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s