DEV Community

Cover image for How To Create And Connect To A Linux Virtual Machine Using A Public Key
Romanus Onyekwere
Romanus Onyekwere

Posted on

1

How To Create And Connect To A Linux Virtual Machine Using A Public Key

To do this effectively, you must follow the below steps;

1. Sign up to Azure portal
Image description

2. Click on Virtual Machine

Image description

3. Click on Create
Image description
**

4. On the dropdown. click Azure Virtual Machine
Image description

5. Under the Project details, make sure the right subscription is selected and then choose to Create new resource group and enter LinuxVm

Image description

6.Under Instance details enter LinuxVm for the Virtual Machine Name, and choose Ubuntu Server 20.04 LTS-x64 Gen2 (free services eligible) for your Image. Choose No infrastructure Redundancy required for Availability Option, Select Standard for Security Type and leave the other defaults

Image description

7. Under Administrative account, select Password
8. In Username, enter Moderntech
9. Input your Password

Image description
10. At the Inbound port rule, choose Allow selected ports on the Public inbound port

Image description

11. Review + Create
This is for validation to take place

Image description
*12. * Create.
This is to complete the deployment

Image description
13. Click on Resource

Image description

14. Connect to powershell

Image of AssemblyAI tool

Challenge Submission: SpeechCraft - AI-Powered Speech Analysis for Better Communication

SpeechCraft is an advanced real-time speech analytics platform that transforms spoken words into actionable insights. Using cutting-edge AI technology from AssemblyAI, it provides instant transcription while analyzing multiple dimensions of speech performance.

Read full post

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay