ssh-validate-conf(1)ssh-validate-conf(1)NAMEssh-validate-conf - Verifies the Secure Shell client or server configu‐
ration file.
SYNOPSISssh-validate-conf [-q] [-r] [-c client_config] [-s server_config] file‐
name
OPTIONS
Specifies a Secure Shell client configuration file. The system-wide
client configuration file can be found at /etc/ssh2/ssh2_config. The
user-specific configuration file can be found in the $HOME/.ssh2 direc‐
tory, where $HOME is the name of the user's account. Specifies a
Secure Shell server configuration file. The system-wide server configu‐
ration file can be found at /etc/ssh2/sshd2_config. If the configura‐
tion file has an invalid keyword, the -r option will comment out the
keyword and update the content of the specified file. Disables all
messages.
OPERANDS
Specifies the name of the file that contains the Secure Shell client or
server configuration.
DESCRIPTION
The ssh-validate-conf command verifies whether the keyword in the
Secure Shell server or the client configuration file is valid. If a
keyword is invalid, a message is printed. Any lines that are commented
out will be skipped. To update the file, you use the -r option. This
will comment out the invalid keywords.
LEGAL NOTICES
SSH is a registered trademark of SSH Communication Security Ltd.
EXAMPLES
To update the Secure Shell client configuration file, enter: $ ssh-val‐
idate-conf -r-c $HOME/.ssh2/ssh2_config To update the Secure Shell
server configuration file, enter: # ssh-validate-conf-r-s
/etc/ssh2/sshd2_config
FILES
Specifies Secure Shell client configuration information. Specifies
Secure Shell server configuration information.
SEE ALSO
Commands: ssh2(1), sshd2(8)
Files: ssh2_config(4), sshd2_config(4)
Security Administration
ssh-validate-conf(1)