Photo by Gabriel Heinzer / Unsplash

How to SSH into your Ubuntu Server from Windows

ubuntu Mar 23, 2023

This is a simple guide on how you can SSH into your Ubuntu Server. Essentially there are only 2 main commands you really have to run.

1. Install the package for SSH

We'll be using OpenSSH for this. Run the second command to ensure it is up and running

sudo apt-get install openssh-server
sudo systemctl status ssh

2. Configure Firewall

This step is optional if you have enabled firewall on your server e.g sudo ufw enable. Use the second command to verify

sudo ufw allow ssh
sudo ufw status

3. Open up a terminal in the window and connect

type in [email protected], punch in your password and you're in

Tags