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

系统为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连系统成功

posted @ 2017-03-04 10:01  gyhuminyan  阅读(4343)  评论(0编辑  收藏  举报