Difference between revisions of "/etc/ssh/sshd config"
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 |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Directives == | == Directives == | ||
− | + | * <code>[[Port]]</code> | |
− | + | * <code> [[ChrootDirectory]]</code> | |
− | + | * <code> [[PasswordAuthentication]]</code> | |
− | + | * <code> [[PubkeyAuthentication]]</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 == | == 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}} | ||
− | * {{ | + | * {{sshd}} |
[[Category:Linux]] | [[Category:Linux]] |
Latest revision as of 14:27, 22 January 2024
/etc/ssh/sshd_config
. Man page: https://linux.die.net/man/5/sshd_config
Contents
Directives[edit]
Port
ChrootDirectory
PasswordAuthentication
PubkeyAuthentication
AuthenticationMethods
ChallengeResponseAuthentication
Match
internal-sftp
MaxStartups
LogLevel
PermitRootLogin
UseDNS=no
Logs[edit]
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: MaxAuthTries
Related commands[edit]
dpkg -S /etc/ssh/sshd_config
dpkg-query: no path found matching pattern /etc/ssh/sshd_config
See also: dpkg -V
sudo launchctl unload /System/Library/LaunchDaemons/ssh.plist sudo launchctl load -w /System/Library/LaunchDaemons/ssh.plist
Activate SSH server on macOS
See also[edit]
/etc/ssh/sshd_config
:AuthenticationMethods, PasswordAuthentication
,PermitRootLogin
,MaxStartups, sshd_config
- OpenSSH (changelog):
/etc/ssh/sshd_config
|/etc/ssh/ssh_config
|~/.ssh/
|openSSL | sshd logs
|sftp
|scp
|authorized_keys
|ssh-keygen
|ssh-keyscan
|ssh-add
|ssh-agent
|ssh
|Ssh -O stop
|ssh-copy-id
|CheckHostIP
|UseKeychain
, OpenSSF sshd
,sshd logs
,sshd -t
,sshd -T
,sshd_config
,sftp
Advertising: