Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Added: “UsePrivilegeSeparation SANDBOX
- LogLevel VERBOSE
- PermitRootLogin no
- X11Forwarding no
- TCPKeepAlive no
- AllowTcpForwarding no
- ClientAliveCountMax 2
- Compression no
- MaxAuthTries 3
- MaxSessions 2
- ”
- To sshd_config
- Added
- net.ipv4.conf.all.accept_redirects = 0
- net.ipv4.conf.all.send_redirects = 0
- net.ipv4.conf.default.accept_redirects = 0
- net.ipv6.conf.all.accept_redirects = 0
- net.ipv6.conf.default.accept_redirects = 0
- net.ipv4.conf.default.accept_source_route = 0
- kernel.sysrq = 0
- net.ipv4.tcp_timestamps = 0
- net.ipv4.conf.all.log_martians = 1
- net.ipv4.conf.default.log_martians = 1
- kernel.kptr_restrict = 2
- kernel.core_uses_pid = 1
- net.ipv4.conf.all.rp_filter = 1
- To sysctl.conf\
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement