遠程 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
相關文章
相關標籤/搜索