Steps on how to create a Linux virtual machine using password authentication
Ugonna
Posted on October 21, 2024
The following steps below are how to create virtual machine using password authentication.
Go to Azure portal search virtual machine
Click create and select Azure virtual machine
In project details, name the resource group
In instance details, name the virtual machine and choose the region, and leave the rest as default
In administrator account, in authentication type select password; create username and password
.
Leave the rest as default and click review and create
Allow validation to pass, then select create
Click on go to resources
In the resources, click on the ip address
Drag out the idle timeout from 4 minutes to 30 minutes and save
Go to the Virtual machine and click connect
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
The following shows it has connected
.
Posted on October 21, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.