Difference between revisions of "/etc/ssh/sshd config"
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
* <code> [[PasswordAuthentication]]</code> | * <code> [[PasswordAuthentication]]</code> | ||
* <code> [[PubkeyAuthentication]]</code> | * <code> [[PubkeyAuthentication]]</code> | ||
− | * [[AuthenticationMethods]] | + | * <code>[[AuthenticationMethods]]</code> |
* <code> [[ChallengeResponseAuthentication]]</code> | * <code> [[ChallengeResponseAuthentication]]</code> | ||
* <code> [[Match (OpenSSH)|Match]]</code> | * <code> [[Match (OpenSSH)|Match]]</code> |
Revision as of 15:27, 23 August 2023
/etc/ssh/sshd_config
. Man page: https://linux.die.net/man/5/sshd_config
Contents
Directives
Port
ChrootDirectory
PasswordAuthentication
PubkeyAuthentication
AuthenticationMethods
ChallengeResponseAuthentication
Match
internal-sftp
MaxStartups
LogLevel
PermitRootLogin
- UseDNS=no
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
See: MaxAuthTries
Related commands
dpkg -S /etc/ssh/sshd_config
dpkg-query: no path found matching pattern /etc/ssh/sshd_config
See also: dpkg -V
See also
/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 - PAM,
libpam_cracklib
,pam_tally2
,/etc/pam.d/, /etc/pam.d/sshd
,pam_oath
,pam_sss
,/etc/pam.d/login, pam_unix, pam_krb5
Advertising: