xshell连接linux问题

若链接不成功,多是防火墙未关闭。html service iptables status:查看防火墙的运行状态。linux serviced iptables stop:关闭防火墙。vim vim /etc/ssh/sshd_config:进入可设置防火墙开机自动关闭。ssh 输入命令:service sshd restart  重启SSH服务。tcp 命令:service sshd start 
相关文章
相关标签/搜索