xshell连接不上linux问题

1、首先确定linux系统有网络。

使用ifconfig查看是否有ip地址,没有的话需要先配置。

 

2、打开sshd服务:service sshd start

3、关闭防火墙服务:service iptables stop

 

最后还可以把sshd设置为开机启动,而防火墙为开机不启动,命令为:

chkconfig ssdh on

chkconfig iptables off

posted @ 2018-08-21 14:05  覆手为云p  阅读(8414)  评论(0编辑  收藏  举报
停止精灵球