Calculates on this device. File exports run online.
SSH Configuration Validator
Paste your ~/.ssh/config or the server's sshd_config. Each keyword and value is checked against the OpenSSH manual pages: keywords ssh or sshd does not know, values of the wrong kind, keywords not allowed in a Match block, settings that are never used because a general block comes first, old keywords, weak algorithms and risky settings.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose the button below them.
Your result
How it was worked out
How to check a configuration
- Choose ssh client config or sshd_config, then paste the file or open it.
- Press Check. Each problem names its line; an error stops ssh or sshd.
- To see what applies to one connection, choose See the settings that apply and type the host (and the user for Match User).
The first value wins
ssh and sshd take the first value they find for each keyword. In ~/.ssh/config put specific Host blocks first and Host * at the end; a Host * at the top hides the settings of later blocks, and the page lists each setting that is never used. On a server, a Match block that applies overrides the global settings.
What is reported as risky
- Server: PermitRootLogin yes, PermitEmptyPasswords yes, passwords allowed, X11 forwarding, many tries per connection, PermitUserEnvironment.
- Client: StrictHostKeyChecking no, UserKnownHostsFile /dev/null, ForwardAgent yes for every host.
- Algorithms: CBC and 64-bit block ciphers, MD5 and short MACs, SHA-1 key exchange, ssh-rsa (SHA-1) signatures and DSA keys.
Limits you should know
- OpenSSH is not run here: check a server with sshd -t (and sshd -T) as well. Keywords of patched OpenSSH builds may be reported as unknown.
- Include lines are followed only in the box below, where the included files can be sent too.
- Match exec, canonical and final need the running system; they are taken as not matching.
Privacy
Files are checked in your browser. Only what you choose in the box below is sent to the Toolvito server, to be checked there; host keys and authorized_keys files in a ZIP are not read. Download the result within one hour after the job finishes. Choose Delete files now to request earlier removal. The hourly cleanup normally removes files within one to two hours after completion.