Your files stay on your device

# SSH config explainer

Paste ssh_config or sshd_config: Host blocks and every keyword explained, weakening settings called out, nothing connects.
Loading editor…

Works with ssh_config and sshd_config. Every keyword is explained, risky settings are flagged, and unknown keywords are counted instead of guessed.

## First value wins

ssh_config reads top to bottom, and for each option the first value obtained is the one used. A broad Host * block placed first therefore stops more specific blocks below it from changing that option. Put narrow Host entries above general defaults, and check the order when a setting seems ignored.

## Settings that widen trust

ForwardAgent yes lets a remote host use your agent socket while the session is open. Anyone with root on that host can reach the socket, so the setting grants more reach than it appears to. Limit it to hosts you trust, and prefer ProxyJump for reaching a machine through a bastion, since the jump host never gets access to your agent.

## Reading sshd_config

- PasswordAuthentication no makes the server refuse passwords and accept keys only.
- PermitRootLogin decides whether the root account can log in over SSH at all.

## More config file tools

- [nginx.conf explainer](/config/nginx)
- [SSH key inspector](/web/ssh-key)
[All config file tools](/config)

Was this tool useful?
YesNo

---

Canonical HTML: https://nutter.tools/config/ssh
Markdown version: https://nutter.tools/config/ssh.md
Plain-text version: https://nutter.tools/config/ssh.txt
Agent index: https://nutter.tools/llms.txt

