DEV Community

Cover image for Creating a Linux Virtual Machine with Ubuntu Server using Password Authentication.
Yemi G
Yemi G

Posted on

Creating a Linux Virtual Machine with Ubuntu Server using Password Authentication.

In the portal, search for Virtual Machine

Image description

Select Create

Image description

Select Azure Virtual machine

Image description

Select Resource Group

Image description

Enter Virtual machine name

Image description

Select image as Ubuntu Server

Image description

Select Adminstration Type to be Password

Image description

Enter Username and password

Image description

Select Allow selected ports for Public inbound ports

Image description

Select inbound ports

Image description

Go to Monitoring Tab

Image description

Disable Diagnostics

Image description

Go to Tag tab and add a name and value

Image description

Select Review + Create, confirm validation and select create

Image description

Go to Resource and select IP address

Image description

Increase the timeout to your preferred time and save your changes

Image description

Open PowerShell on your local computer

Enter "ssh, your username and your VM IP address" and click Enter

Image description

It will ask if you want to continue, type "yes"

Image description

Type your password - Note, Linux will not display your password as you type it.

Image description

Then you will get connected to your Virtual machine.

Top comments (0)