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

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(8 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
* <code>[[Port]]</code>
 
* <code>[[Port]]</code>
 
* <code> [[ChrootDirectory]]</code>
 
* <code> [[ChrootDirectory]]</code>
 +
* <code> [[PasswordAuthentication]]</code>
 +
* <code> [[PubkeyAuthentication]]</code>
 +
* <code>[[AuthenticationMethods]]</code>
 
* <code> [[ChallengeResponseAuthentication]]</code>
 
* <code> [[ChallengeResponseAuthentication]]</code>
 
* <code> [[Match (OpenSSH)|Match]]</code>
 
* <code> [[Match (OpenSSH)|Match]]</code>
Line 9: Line 12:
 
* <code> [[LogLevel]]</code>
 
* <code> [[LogLevel]]</code>
 
* <code> [[PermitRootLogin]]</code>
 
* <code> [[PermitRootLogin]]</code>
* <code> [[PasswordAuthentication]]</code>
+
* <code>[[UseDNS=no]]</code>
* <code> [[PubkeyAuthentication]]</code>
 
  
 
== Logs ==
 
== Logs ==
Line 19: Line 21:
 
== Related commands ==
 
== Related commands ==
 
* [[sshd logs]]
 
* [[sshd logs]]
 +
* <code>[[ssh -vvv]]</code>
 
* <code>[[~/.ssh/]]</code>
 
* <code>[[~/.ssh/]]</code>
  
Line 24: Line 27:
 
  dpkg-query: no path found matching pattern /etc/ssh/sshd_config
 
  dpkg-query: no path found matching pattern /etc/ssh/sshd_config
 
  See also: <code>[[dpkg -V]]</code>
 
  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: