Difference between revisions of "Sshd -T"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{lc}}<code>-T</code> Extended test mode. Check the validity of the configuration file, output the effective configuration to stdout and then exit. Optionally, Match rules may be applied by specifying the connection parameters using one or more <code>-C</code> options. ([[OpenSSH 5.1]], July [[2008]]) |
Line 5: | Line 5: | ||
'Match LocalPort' in configuration but 'lport' not in connection test specification. | 'Match LocalPort' in configuration but 'lport' not in connection test specification. | ||
+ | |||
+ | sshd -T -f | ||
== Related commands == | == Related commands == | ||
− | * nmap --script ssh2-enum-algos -sV -p 22 1.2.3.4 | + | * <code>[[nmap --script ssh2-enum-algos -sV -p 22 1.2.3.4]]</code> |
− | + | * <code>[[sshd -t]]</code> | |
== See also == | == See also == | ||
+ | * {{test mode}} | ||
* {{sshd}} | * {{sshd}} | ||
* {{OpenSSH}} | * {{OpenSSH}} | ||
[[Category:OpenSSH]] | [[Category:OpenSSH]] |
Latest revision as of 18:37, 7 September 2023
-T
Extended test mode. Check the validity of the configuration file, output the effective configuration to stdout and then exit. Optionally, Match rules may be applied by specifying the connection parameters using one or more -C
options. (OpenSSH 5.1, July 2008)
sshd -T 'Match LocalPort' in configuration but 'lport' not in connection test specification.
sshd -T -f
Related commands[edit]
See also[edit]
- Test mode:
nginx -t
,sshd -T
,crontab -e
,visudo
, Named-checkconf,dnsmasq --test, validate:
sshd
,sshd logs
,sshd -t
,sshd -T
,sshd_config
,sftp
- OpenSSH (changelog):
/etc/ssh/sshd_config
|/etc/ssh/ssh_config
|~/.ssh/
|openSSL | sshd logs
|sftp
|scp
|authorized_keys
|ssh-keygen
|ssh-keyscan
|ssh-add
|ssh-agent
|ssh
|Ssh -O stop
|ssh-copy-id
|CheckHostIP
|UseKeychain
, OpenSSF
Advertising: