SSH Install and Setup Run the following command to install OpenSSH Server: sudo apt install openssh-server Enable the SSH service: sudo systemctl enable ssh Allow SSH traffic (port 22) through the built-in firewall: sudo ufw allow ssh