FastHandle is fast operation tools for infrastructure configurations and tests.
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
os:linux:set:deamon:etc_ssh_sshd_config.html [2018/02/17 01:07] kurihara |
os:linux:set:deamon:etc_ssh_sshd_config.html [2018/12/22 23:50] (current) kurihara |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| [[os: | [[os: | ||
| - | ====== / | + | ====== / |
| \\ | \\ | ||
| Line 6: | Line 6: | ||
| \\ | \\ | ||
| - | ===== My /etc/security/limits.conf | + | ===== My /etc/ssh/sshd_config |
| <sxh bash toolbar: | <sxh bash toolbar: | ||
| # | # | ||
| - | # /etc/security/limits.conf | + | # /etc/ssh/sshd_config |
| # -rw-r--r-- | # -rw-r--r-- | ||
| # | # | ||
| + | # man 5 sshd_config | ||
| # | # | ||
| + | |||
| + | Port 22 | ||
| + | Protocol 2 | ||
| # HostKeys for protocol version 2 | # HostKeys for protocol version 2 | ||
| Line 26: | Line 30: | ||
| # Authentication: | # Authentication: | ||
| - | PermitRootLogin | + | PermitRootLogin |
| AuthorizedKeysFile | AuthorizedKeysFile | ||
| PermitEmptyPasswords no | PermitEmptyPasswords no | ||
| Line 41: | Line 45: | ||
| UsePrivilegeSeparation sandbox | UsePrivilegeSeparation sandbox | ||
| UseDNS no | UseDNS no | ||
| + | MaxStartups 100:30:200 | ||
| # Accept locale-related environment variables | # Accept locale-related environment variables | ||
| Line 55: | Line 59: | ||
| \\ | \\ | ||
| - | ===== CentOS7 Default /etc/security/limits.conf | + | ===== CentOS7 Default /etc/ssh/sshd_config |
| <sxh bash toolbar: | <sxh bash toolbar: | ||
| # | # | ||
| Line 213: | Line 217: | ||
| \\ | \\ | ||
| - | ===== Ubuntu 16.0.4 ===== | + | ===== Ubuntu 16.0.4 |
| <sxh bash toolbar: | <sxh bash toolbar: | ||
| # Package generated configuration file | # Package generated configuration file | ||
My Sites
SNS
Copyright (c) 2025 FastHandle - IT Operations Examples All Rights Reserved.