增加 ssh 的安全性設定
編輯 /etc/ssh/sshd_config,加入或修改下列參數:
#禁止 root 以 SSH 登入 PermitRootLogin no #僅允許特定群組登入 AllowGroups group1 group2 #僅允許特定帳號登入 AllowUsers user1 user2 #禁止使用空白密碼登入 PermitEmptyPasswords no #限定只能使用 SSH2 協定 Protocol 2 #限定最多可以同時連線的數目 MaxStartups 5
您可能會對以下這些文章感興趣
2008
19
2月
- Posted by citypig at 04:21 pm (3,843 views)
- Permalink for this entry
- Filed under: linux, security, ssh
- RSS comments feed of this entry
- TrackBack URI










沒有任何留言
發表您的評論