Напишите в консоли
sudo apt instal
sudo apt-get update
apt install openssh-server
sudo systemctl restart ssh