Where to start First steps track · 15 stages
Linux Labs

sshd — the SSH server

cheat sheet · Ubuntu 24.04 · OpenSSH 9.6 https://lab.dimsanych.ru/en/wiki/sshd/

Cheat sheet

  • sudo sshd -t check config syntax
  • sudo sshd -T | grep -i permitroot the effective value of a parameter
  • sudo systemctl reload ssh apply without dropping sessions
  • ss -tlnp | grep :22 is the port listening
  • journalctl -u ssh -f connection logs in real time
Loading…