sshd — the SSH server
cheat sheet · Ubuntu 24.04 · OpenSSH 9.6 https://lab.dimsanych.ru/en/wiki/sshd/Cheat sheet
-
sudo sshd -tcheck config syntax -
sudo sshd -T | grep -i permitrootthe effective value of a parameter -
sudo systemctl reload sshapply without dropping sessions -
ss -tlnp | grep :22is the port listening -
journalctl -u ssh -fconnection logs in real time