2023년 기준 SSH 보안 강화를 위한 최신 가이드를 알려주세요.
2023년 SSH 하드닝 가이드:
# /etc/ssh/sshd_config# 1. 키 인증만 허용PasswordAuthentication noPubkeyAuthentication yesPermitRootLogin no# 2. 최신 알고리즘만KexAlgorithms curve25519-sha256,curve25519-sha256@libssh.orgCiphers chacha20-poly1305@openssh.com,aes256-gcm@openssh.comMACs hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.comHostKeyAlgorithms ssh-ed25519# 3. 접근 제한AllowUsers deploy adminMaxAuthTries 3LoginGraceTime 20# 4. 기타X11Forwarding noAllowTcpForwarding noClientAliveInterval 300ClientAliveCountMax 2
추가:
댓글 1
2023년 SSH 하드닝 가이드:
추가: