远程 sshd提示:Server unexpectedly closed network connection

[root@xx]# vim /etc/ssh/sshd_config //修改端口为3330 [root@xx]# iptables -I INPUT -p tcp –dport 3330 -j ACCEPT //添加防火墙3330端口 容许 [root@xx]# service iptables save //保存规则 [root@xx]# service ssh restart //重启ss
相关文章
相关标签/搜索