$ sudo apt update
$ sudo apt install openssh-server
$ sudo systemctl start ssh
$ sudo systemctl status ssh
$ sudo systemctl enable ssh
$ sudo systemctl restart ssh
$ sudo ufw enable
$ sudo ufw allow 22/tcp
$ sudo apt update
$ sudo apt install openssh-server
$ sudo systemctl start ssh
$ sudo systemctl status ssh
$ sudo systemctl enable ssh
$ sudo systemctl restart ssh
$ sudo ufw enable
$ sudo ufw allow 22/tcp