码迷,mamicode.com
首页 > 系统相关 > 详细

SecureCRT连接Ubuntu,centos失败,长时间的重新连接,连接不了解决办法

时间:2017-03-23 21:26:21      阅读:178      评论:0      收藏:0      [点我收藏+]

标签:解决   nbsp   tables   ubuntu   table   rpm   端口   使用   iptables   

Ubuntu,centos默认未安装ssh远程加密连接服务。
使用命令,安装即可。
0.sudo apt-get install openssh-server openssh-client
1.rpm -qa | grep ssh查看SSH是否安装 若没有执行第0步
2.service sshd status 查看是否开启 如果没有继续下面
3.启动SSH服务 service sshd restart  停止服务service sshd stop 
4.netstat -antp | grep sshd 查看是否启动22端口或者ps -aux|grep sshd 看是否有sshd服务
5.chkconfig sshd on 设置SSH服务为开机启动
6.如果还没好,把防火墙清空或者关掉 iptables -F 或者service iptables stop

SecureCRT连接Ubuntu,centos失败,长时间的重新连接,连接不了解决办法

标签:解决   nbsp   tables   ubuntu   table   rpm   端口   使用   iptables   

原文地址:http://www.cnblogs.com/wuhua1/p/6607297.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!