sshd -t to test configuration file syntax?

Pekka Savola pekkas at netcore.fi
Thu Feb 22 02:21:08 EST 2001


Hello all,

sshd configuration file options change from one release to another.

If you forget updating sshd_config, sshd will not start.

This is especially painful for update scripts etc. where you can't do e.g.
'sshd -p 2022' to see if it's okay.

May I suggest some option, e.g. sshd -t, which would test config files and
other obvious issues and return an errorcode if something is broken?

Does this seem useful?

-- 
Pekka Savola                  "Tell me of difficulties surmounted,
Netcore Oy                    not those you stumble over and fall"
Systems. Networks. Security.   -- Robert Jordan: A Crown of Swords






More information about the openssh-unix-dev mailing list