发现这个还是挺多人问的,所以记录下,水一些点击量吧
1.修改配置文件
vim /etc/ssh/sshd_config
2.防火墙放行
ufw allow 端口号
2.重启服务生效
systemctl restart sshd