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

From wikieduonline
Jump to navigation Jump to search
m (Welcome moved page Sshd config to /etc/ssh/sshd config)
Tags: Mobile web edit, Mobile edit
 
(22 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Draft}}
+
<code>[[/etc/]]ssh/sshd_config</code>. Man page: https://linux.die.net/man/5/sshd_config
https://linux.die.net/man/5/sshd_config
+
== Directives ==
 
+
* <code>[[Port]]</code>
 
+
* <code> [[ChrootDirectory]]</code>
[[dpkg]] -S /etc/ssh/sshd_config
+
* <code> [[PasswordAuthentication]]</code>
dpkg-query: no path found matching pattern /etc/ssh/sshd_config
+
* <code> [[PubkeyAuthentication]]</code>
See also: <code>[[dpkg -V]]</code>
+
* <code>[[AuthenticationMethods]]</code>
 +
* <code> [[ChallengeResponseAuthentication]]</code>
 +
* <code> [[Match (OpenSSH)|Match]]</code>
 +
* <code> [[internal-sftp]]</code>
 +
* <code> [[MaxStartups]]</code>
 +
* <code> [[LogLevel]]</code>
 +
* <code> [[PermitRootLogin]]</code>
 +
* <code>[[UseDNS=no]]</code>
  
 +
== Logs ==
  
 
  Dec 01 07:01:05 SERVER sshd[15647]: PAM service(sshd) ignoring max retries; 5 > 3 sshd[15647]: PAM service(sshd) ignoring max retries; 5 > 3
 
  Dec 01 07:01:05 SERVER sshd[15647]: PAM service(sshd) ignoring max retries; 5 > 3 sshd[15647]: PAM service(sshd) ignoring max retries; 5 > 3
 
  See: <code>[[MaxAuthTries]]</code>
 
  See: <code>[[MaxAuthTries]]</code>
  
 +
== Related commands ==
 +
* [[sshd logs]]
 +
* <code>[[ssh -vvv]]</code>
 +
* <code>[[~/.ssh/]]</code>
  
  [[root|PermitRootLogin]] Specifies whether root can log in using ssh(1). The argument must be yes, prohibit-password, without-password, forced-commands-only, or no. The default is prohibit-password. (See also: [[passwd]])
+
[[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]]
  
Directives:
+
  [[Activate SSH server on macOS]]
  [[Port]]
 
[[ChrootDirectory]]
 
[[ChallengeResponseAuthentication]]
 
[[Match (OpenSSH)|Match]]
 
[[internal-sftp]]
 
[[MaxStartups]]
 
[[LogLevel]]
 
 
 
 
 
== Related commands ==
 
* [[sshd logs]]
 
  
 
== See also ==
 
== See also ==
 +
* {{sshd_config}}
 
* {{OpenSSH}}
 
* {{OpenSSH}}
* {{PAM}}
+
* {{sshd}}
  
 
[[Category:Linux]]
 
[[Category:Linux]]

Latest revision as of 14:27, 22 January 2024

Advertising: