 |
Index for Section 1 |
|
 |
Alphabetical listing for S |
|
 |
Bottom of page |
|
ssh-validate-conf(1)
NAME
ssh-validate-conf - Verifies the Secure Shell client or server
configuration file.
SYNOPSIS
ssh-validate-conf [-q] [-r] [-c client_config] [-s server_config] filename
OPTIONS
-c 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.
-s filename
Specifies a Secure Shell server configuration file. The system-wide
server configuration file can be found at /etc/ssh2/sshd2_config.
-r If the configuration file has an invalid keyword, the -r option will
comment out the keyword and update the content of the specified file.
-q Disables all messages.
OPERANDS
filename
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
1. To update the Secure Shell client configuration file, enter:
$ ssh-validate-conf -r -c $HOME/.ssh2/ssh2_config
2. To update the Secure Shell server configuration file, enter:
# ssh-validate-conf -r -s /etc/ssh2/sshd2_config
FILES
/etc/ssh2/ssh2_config
Specifies Secure Shell client configuration information.
/etc/ssh2/sshd2_config
Specifies Secure Shell server configuration information.
SEE ALSO
Commands: ssh2(1), sshd2(8)
Files: ssh2_config(4), sshd2_config(4)
Security Administration
 |
Index for Section 1 |
|
 |
Alphabetical listing for S |
|
 |
Top of page |
|