Wiki‎ > ‎

ssh server sshd config

posted Jan 10, 2013, 2:53 PM by Dong Xu   [ updated Jan 18, 2013, 10:28 PM ]
TCP wapper for IP control

vi /etc/hosts.deny
add
ALL: ALL

vi /etc/hosts.allow
add all allowed IP and domains
ALL: hpclogin.inel.gov 204.134.163.222

vi /etc/ssh/sshd_config
MaxAuthTries 3
PermitRootLogin no
AllowUsers Myusername  see http://www.cyberciti.biz/tips/openssh-deny-or-restrict-access-to-users-and-groups.html
Comments