Creating a VM on Microsoft Azure

What I Did I needed a cloud server to test things without using my local machine. I spun up an Ubuntu 20.04 VM on Azure and connected via SSH. Here’s the exact process I followed. Create the VM Log in to Azure Click Create a Resource Pick Ubuntu 20.04 LTS → Create Name the VM Under Administration Account, choose SSH Public Key Set a username and key pair name Under Inbound Port Rules, open SSH (22) and HTTP (80) Click Review and Create → Create Download the key pair file when prompted Wait for deployment, then click Go to Resource Connect via SSH cd ~/Downloads chmod 400 pair_key_name.pem ssh -i pair_key_name.pem username@your_ip Type yes when SSH asks about the fingerprint. ...

August 16, 2021 · 1 min · Saad

SSH: How I Connect to Remote Servers

Why I Use SSH SSH is how I control another machine from my terminal. I use it to manage servers, copy files, and run commands on remote systems without sitting in front of them. For Windows remote desktop you use RDP. For Linux, SSH is the standard. How SSH Works (Short Version) Client — on your laptop (where you type) Server — on the remote machine (what you connect to) You run ssh user@ip, enter your password (or use a key), and you get a shell on the remote box. ...

August 14, 2021 · 2 min · Saad