Enable SSH on Ubuntu 20.04
- Install SSH server and client metapackage using the
apt
command:$ sudo apt install ssh
- Enable and start SSH server daemon:
$ sudo systemctl enable --now ssh
- Check SSH server status:
$ sudo systemctl status ssh
- Before you make an attempt to login you might need to open SSH firewall port 22 and optionally allow to login to SSH server as root user.