Toolvito

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

Paste your ~/.ssh/config (or /etc/ssh/ssh_config). Each keyword and value is checked against OpenSSH, with the settings ssh never uses because a general block comes first, old keywords, weak algorithms and risky settings.

Your values

More options

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.

Check a whole /etc/ssh or ~/.ssh folder with its Include files

Check a whole /etc/ssh or ~/.ssh folder with its Include files

Choose a ZIP of /etc/ssh (with sshd_config.d) or ~/.ssh, or the configuration files. Include lines are followed among the files you send, every file is checked, and for the hosts you type the settings that apply are listed. Host keys, authorized_keys and known_hosts are not read.

Or drop files here. Any type of file, up to 200 files, 10 MB each at most.

    More options

    The calculator above works on your device. When you run a task in this section, Toolvito receives the values and result you submit to make the file or run the check. 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.

    How to check a configuration

    1. Choose ssh client config or sshd_config, then paste the file or open it.
    2. Press Check. Each problem names its line; an error stops ssh or sshd.
    3. 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.

    Related tools