|
ssh-validate-conf(1)
Contents
|
ssh-validate-conf - Verifies the Secure Shell client or
server configuration file.
ssh-validate-conf [-q] [-r] [-c client_config] [-s
server_config] filename
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 directory, where
$HOME is the name of the user's account. Specifies a
Secure Shell server configuration file. The system-wide
server configuration file can be found at
/etc/ssh2/sshd2_config. If the configuration file has an
invalid keyword, the -r option will comment out the keyword
and update the content of the specified file. Disables
all messages.
Specifies the name of the file that contains the Secure
Shell client or server configuration.
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.
SSH is a registered trademark of SSH Communication Security
Ltd.
To update the Secure Shell client configuration file,
enter: $ ssh-validate-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
Specifies Secure Shell client configuration information.
Specifies Secure Shell server configuration information.
Commands: ssh2(1), sshd2(8)
Files: ssh2_config(4), sshd2_config(4)
Security Administration
ssh-validate-conf(1)
[ Back ] |