Create Azure Linux VM using SSH Key to login | #CloudLearnerPro

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hi everyone in this video we will learn how to create linux vm in azure using ssh key to login i'll also explain how to convert the pam key into ppk key which we used to log into linux vm as a ssh key now i'm in the azure portal in the azure portal i'll click on create a resource then i'll search for ritual in the search bar which will populate me some results in the populated results i'll click on rhel linux 8.1 and then i'll click on create button which will take me to create a virtual machine page in this page i'm going to select subscription as free trial resource group i'm going to create a new resource group which is test hyphen rg01 virtual machine name i'm going to provide demo hyphen vm remaining details i'm not changing then i'm going to the authentication type where i'm going to select the authentication type as ssh public key username i'm going to use it as azure user ssh public key source i'm going to generate a new keypad because i don't have any existing key which i can use here and then keep a name i'm going to use the auto populated keypad name demo vm key then public inbound port ssh 22 is enabled the remaining tabs like disk networking management advanced tags i'm not changing anything because i'm creating a basic linux vm with ssh key to login so i'm clicking on review create which will perform the final validation once the final validation is completed it will show me the message validation fast for the image i'm using it requires username email address and mobile number which i'm providing on the screen and then i'm clicking on create button which will give me a window where i can download a key pair and then it will create the resource so if you see the message which is populated on the above after the ssh key resource created you won't be able to download the key page so download the keypair and save it in a safe place where you can use it to log into the vm after the resource is created now you can see the key pair is downloaded and the deployment is initiated now we will use putin software to generate private key dot ppk from the downloaded key dot pem i have already downloaded the putigen software in my laptop i will share the link in the video description for your reference where you can download the putigen software using puttygen only we can convert dot pem key into dot ppk key now i am installing the putin application in my local laptop by using the downloaded installer file installation is very simple as we see on the screen once after the installation we can use the puttegen software to generate the private key you can see on the screen the putin installation is completed i'm clicking on finish button then i'm going to launch the putigen application which is installed in my local laptop then i'm going to click on load button to load the dot pem key which is the key we have downloaded during the azure linux virtual machine creation in the azure portal so now i'm going to load this key once i load it it will give me a successful message that means the key is imported and it is converted i'm going to click on save private key to save the key in my local machine now we can uh browse the path where we want to store the private key so i am going to store the private key in one of my local directory as vm iphone private key once i click on save you can see on the background vm hyphen private key is created i'm going to azure portal now i can see the deployment is completed of my azure virtual machine i'm going to click on go to resource which will take me to the virtual machine overview page i'm going to copy the public ip address and i'm going to open the putty application which is already installed in my laptop i'm going to paste the ip address then i'm going to expand the sss option and i'm going to click on authentication option and i'm clicking on browse to browse the private key i will select the private key and i'll click on open button which will launch the ssh connection with the azure virtual machine i'll click on accept here i'll provide the username as azure user after which it will authenticate using the private key which we have loaded in the putty we can run any command to verify the status inside the virtual machine like how i'm doing on the screen so this is the short and simple video guys how to create azure linux vm using ssh key login and how we can convert dot pm key which we download in azure portal to dot ppk by using the putigen software i will be uploading videos consistently in my channel cloud learner pro you can find lots of videos in our channel like this and finally thank you everyone for watching this video if you feel the information i'm providing here is beneficial for you please subscribe to the channel
Info
Channel: Cloud Learner Pro
Views: 1,763
Rating: undefined out of 5
Keywords: #cloudlearnerpro, #Linux Learning, #Azure Linux VM creation process, #SSH Key conversion to private key, #Pem key to PPK key conversion, #azure, #cloudcomputing, #Azure Training, #Azurecompletecourse
Id: 5u2huHospJM
Channel Id: undefined
Length: 5min 26sec (326 seconds)
Published: Mon Jan 31 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.