跳到主要内容

安全

vim /etc/ssh/sshd_config systemctl restart sshd.service

vim /etc/ssh/sshd_config
#PubkeyAuthentication no 改为 PubkeyAuthentication yes #PasswordAuthentication yes 改为 PasswordAuthentication no

ufw default deny incoming ufw default allow outgoing