Install the openssh-server package:

sudo apt update
sudo apt install openssh-server

Verify that SSH is running:

sudo systemctl status ssh

👉 Source