首页 > 系统服务 > 详细

SecureCRT连ubuntu 16.04出现Connection timed out的问题

时间:2017-03-04 11:28:25      阅读:1139      评论:0      收藏:0      [点我收藏+]

系统为ubuntu 16.04, 在准备通过SecureCRT连接系统时,出现Connection timed out 的问题。

 

1.首先输入ssh localhost 指令查看ssh是否安装和启动,结果发现connect to host localhost port 22:Connection refused。造成这个错误的原因有可能是ssh-server未安装或者未启动。

2.运行ps -e | grep ssh指令查看是否有sshd进程,发现 1977 ? 00:00:00 ssh-agent 没有sshd进程。

3.输入 sudo apt-get install openssh-server安装server,Ubuntu下自动安装依赖项

4.直接用SecureCRT连系统成功

SecureCRT连ubuntu 16.04出现Connection timed out的问题

原文:http://www.cnblogs.com/hmy-blog/p/6500608.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!