sshd configuration
open /etc/ssh/sshd_config file, change and add the following lines


LoginGraceTime 60
PermitRootLogin no

MaxAuthTries 3
AllowUsers user_name

MaxStartups 3:50:10

more..



ufw (Uncomplicated Firewall)

apt-get install ufw

ufw enable | disable
ufw default allow | deny
ufw allow from x.x.x.x
ufw deny from x.x.x.x

https://wiki.ubuntu.com/UbuntuFirewall
신고
posted by citadel