DEV Community

Cover image for Steps on how to create a Linux virtual machine using password authentication
Ugonna
Ugonna

Posted on

Steps on how to create a Linux virtual machine using password authentication

The following steps below are how to create virtual machine using password authentication.
Go to Azure portal search virtual machine
Image description
Click create and select Azure virtual machine
Image description
In project details, name the resource group
Image description
In instance details, name the virtual machine and choose the region, and leave the rest as default
Image description
In administrator account, in authentication type select password; create username and password
Image description.
Leave the rest as default and click review and create
Image description
Allow validation to pass, then select create
Image description
Click on go to resources
Image description
In the resources, click on the ip address
Image description
Drag out the idle timeout from 4 minutes to 30 minutes and save
Image description
Go to the Virtual machine and click connect
Image description
In powershell, type ssh username@ipaddress; so it will be ssh ugonna123@20.117.201.120 and press enter and it will prompt you to enter password. its will prompt to select yes/no to continue connection
Image description
The following shows it has connected
Image description.

Top comments (0)