Ubuntu Server SSH Configuration Guide


Step 1: Install OpenSSH Server

sudo apt update
sudo apt install openssh-server -y


Step 2: Check SSH Service Status

sudo systemctl status ssh


Step 3: Start SSH Service (If Not Running)

sudo systemctl start ssh


Step 4: Enable SSH to Start Automatically on Boot

sudo systemctl enable ssh