Secure SSH


1 – Edit sshd_config file
vi /etc/ssh/sshd_config

# Allow only listed users
AllowUsers adam bob carl

# SSH port
Port 22

# Deny root login
PermitRootLogin no

# Deny login without password
PermitEmptyPasswords no

How to list open ports and application using them in Windows

  netstat -abn or netstat -a -n -p tcp -o

Mais vistos