Difference between revisions of "Sshd -t"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | sshd -t | + | [[sshd]] -t |
(No output) | (No output) | ||
− | |||
sshd -t | sshd -t | ||
Line 9: | Line 8: | ||
Missing privilege separation directory: /run/sshd | Missing privilege separation directory: /run/sshd | ||
You may fix it by running: <code>[[systemctl restart sshd]]</code> | You may fix it by running: <code>[[systemctl restart sshd]]</code> | ||
+ | |||
+ | sshd -t -f /path/to/config_file | ||
== Related commands == | == Related commands == | ||
− | * <code>[[sshd -T]]</code>: extended test mode | + | * <code>[[sshd -T]]</code>: extended [[test mode]] |
* <code>[[systemctl restart]] sshd</code> | * <code>[[systemctl restart]] sshd</code> | ||
+ | * <code>[[nginx -t]]</code> | ||
== See also == | == See also == | ||
* {{sshd}} | * {{sshd}} | ||
− | * | + | * {{test mode}} |
[[Category:SSH]] | [[Category:SSH]] |
Latest revision as of 03:40, 27 August 2021
sshd -t (No output)
sshd -t Missing Match criteria for XXX /etc/ssh/sshd_config line 134: Bad Match condition
Missing privilege separation directory: /run/sshd
You may fix it by running: systemctl restart sshd
sshd -t -f /path/to/config_file
Related commands[edit]
sshd -T
: extended test modesystemctl restart sshd
nginx -t
See also[edit]
Advertising: