Ubuntu: Setup SSH Server Here are steps to setup the SSH server on an Ubuntu host. Here's a good reference article for how to do what we're doing here: How to Enable SSH on Ubuntu 20.04 Here are the commands to execute: sudo apt update Install the SSH server with this: sudo apt install openssh-server Start the SSH server: sudo systemctl enable --now ssh Verify it is running: sudo systemctl status ssh Add a firewall rule for the SSH server: sudo ufw allow ssh