dpkg --get-selections | grep ssh
systemctl status ssh
/etc/init.d/ssh restart
Настройка ssh
Port 21421
ChallengeResponseAuthentication no
PasswordAuthentication no
PubkeyAuthentication yes
PermitEmptyPasswords prohibit-password
Ссылки по теме: