Can’t connect to Ubuntu with SSH October 13, 2020 by Gokul Deepak S Leave a Comment Solution for SSH connection on Ubuntu system within LAN or over internet. The Linux must be listening to the port SSH and should keep firewall open. sudo apt update sudo apt install openssh-server sudo systemctl status ssh sudo ufw allow ssh