# Enable ssh ubuntu 20.04 sudo apt update sudo apt install openssh-server sudo systemctl status ssh sudo ufw allow ssh #If doesn't work, be sure this file contains sudo nano /etc/ssh/sshd_config port = 22 # Open the terminal with Ctrl+Alt+T and install the openssh-server # package: sudo apt update sudo apt install openssh-server # Once the installation is complete, the SSH service will start # automatically. You can verify that SSH is running by typing: sudo systemctl status ssh # Ubuntu ships with a firewall configuration tool called UFW. # If the firewall is enabled on your system, make sure to open # the SSH port: sudo ufw allow ssh# Check this article