Difference between revisions of "Sshd -t"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
+
[[sshd]] -t
 
+
(No output)
  
 
  sshd -t
 
  sshd -t
Line 8: 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>
+
* <code>[[sshd -T]]</code>: extended [[test mode]]
 
+
* <code>[[systemctl restart]] sshd</code>
 
+
* <code>[[nginx -t]]</code>
  
 
== See also ==
 
== See also ==
 
* {{sshd}}
 
* {{sshd}}
* [[visudo]]
+
* {{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]

See also[edit]

Advertising: