Vixual / 123 posts / tags / 80 comments / feed / comments feed /
Search:

增加 ssh 的安全性設定

編輯 /etc/ssh/sshd_config,加入或修改下列參數:

#禁止 root 以 SSH 登入
PermitRootLogin no

#僅允許特定群組登入
AllowGroups group1 group2

#僅允許特定帳號登入
AllowUsers user1 user2

#禁止使用空白密碼登入
PermitEmptyPasswords no

#限定只能使用 SSH2 協定
Protocol 2

#限定最多可以同時連線的數目
MaxStartups 5
收藏至網路書籤: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • del.icio.us
  • Google
  • Live
  • YahooMyWeb
  • MyShare
  • Hemidemi
  • Funp

您可能會對以下這些文章感興趣

您對這篇文章的評價:
1 Star2 Stars3 Stars4 Stars5 Stars (有 1 人給予評價)
Loading ... Loading ...

1 則留言

  1. 瘋人院院長院內消息 » Daily Bookmarks 06/02/2010 說:

    [...] 增加 ssh 的安全性設定 | Vixual [...]

    Browser: WordPress WordPress 2.9.2

發表您的評論

(您的留言會在審核後才能公開)