! Check service status
sudo systemctl status ssh
! Check if SSH is listening on port 22
sudo ss -tlnp | grep :22
! Check service state quickly
systemctl is-active ssh
! If SSH is not running, start it
sudo systemctl start ssh
! Enable it at boot:
sudo systemctl enable ssh