Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 166 Bytes

limit-ssh-login.md

File metadata and controls

10 lines (7 loc) · 166 Bytes

###限制ssh IP登录

修改/etc/hosts.allow,实例如下:

sshd:202.201.13.*:allow
sshd:202.201.3.*:allow

仅允许上面两个IP登录。