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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM