Difference between revisions of "/etc/ssh/sshd config"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
<code>[[/etc/]]ssh/sshd_config</code>
+
<code>[[/etc/]]ssh/sshd_config</code>. Man page: https://linux.die.net/man/5/sshd_config
* https://linux.die.net/man/5/sshd_config
 
 
 
[[dpkg]] -S /etc/ssh/sshd_config
 
dpkg-query: no path found matching pattern /etc/ssh/sshd_config
 
See also: <code>[[dpkg -V]]</code>
 
 
 
 
== Directives ==
 
== Directives ==
[[Port]]
+
* <code>[[Port]]</code>
[[ChrootDirectory]]
+
* <code> [[ChrootDirectory]]</code>
[[ChallengeResponseAuthentication]]
+
* <code> [[PasswordAuthentication]]</code>
[[Match (OpenSSH)|Match]]
+
* <code> [[PubkeyAuthentication]]</code>
[[internal-sftp]]
+
* <code>[[AuthenticationMethods]]</code>
[[MaxStartups]]
+
* <code> [[ChallengeResponseAuthentication]]</code>
[[LogLevel]]
+
* <code> [[Match (OpenSSH)|Match]]</code>
[[PermitRootLogin]]
+
* <code> [[internal-sftp]]</code>
[[PasswordAuthentication]]
+
* <code> [[MaxStartups]]</code>
[[PubkeyAuthentication]]
+
* <code> [[LogLevel]]</code>
 +
* <code> [[PermitRootLogin]]</code>
 +
* <code>[[UseDNS=no]]</code>
  
 
== Logs ==
 
== Logs ==
Line 25: Line 21:
 
== Related commands ==
 
== Related commands ==
 
* [[sshd logs]]
 
* [[sshd logs]]
 +
* <code>[[ssh -vvv]]</code>
 
* <code>[[~/.ssh/]]</code>
 
* <code>[[~/.ssh/]]</code>
 +
 +
[[dpkg]] -S /etc/ssh/sshd_config
 +
dpkg-query: no path found matching pattern /etc/ssh/sshd_config
 +
See also: <code>[[dpkg -V]]</code>
 +
 +
sudo [[launchctl unload /System/Library/LaunchDaemons/ssh.plist]]
 +
sudo [[launchctl load -w /System/Library/LaunchDaemons/ssh.plist]]
 +
 +
[[Activate SSH server on macOS]]
  
 
== See also ==
 
== See also ==
 
* {{sshd_config}}
 
* {{sshd_config}}
 
* {{OpenSSH}}
 
* {{OpenSSH}}
* {{PAM}}
+
* {{sshd}}
  
 
[[Category:Linux]]
 
[[Category:Linux]]

Latest revision as of 14:27, 22 January 2024

Advertising: