Ubuntu下 ssh : connect to host localhost port 22:Connection refused
来源:互联网 发布:nginx 安装 cgi 编辑:程序博客网 时间:2024/06/05 04:11
Ubuntu下 ssh : connect to host localhost port 22:Connection refused
转自:http://asyty.iteye.com/blog/1440141Ubuntu下测试ssh时使用ssh localhost 命令,出现错误提示connect to host localhost port 22:Connection refused
造成这个错误的原因可能是ssh-server未安装或者未启动。ubuntu 11.10 默认安装openssh-client,但是木有安装server
运行 ps -e | grep ssh,查看是否有sshd进程
如果没有,说明server没启动,通过 /etc/init.d/ssh -start 启动server进程,如果提示ssh不存在 那么就是没安装server
通过 sudo apt-get install openssh-server命令安装即可
0 0
- Ubuntu ssh: connect to host localhost port 22:Connection refused
- Ubuntu下 ssh : connect to host localhost port 22:Connection refused
- Ubuntu下 ssh : connect to host localhost port 22:Connection refused
- Ubuntu下 ssh : connect to host localhost port 22:Connection refused
- Ubuntu下 ssh : connect to host localhost port 22:Connection refused
- Ubuntu下 ssh : connect to host localhost port 22:Connection refused
- Ubuntu下 ssh : connect to host localhost port 22:Connection refused
- Ubuntu下 ssh : connect to host localhost port 22:Connection refused
- ubuntu hadoop 下ssh 登陆不了 connect to host localhost port 22:Connection refused
- Ubuntu下 ssh : connect to host localhost port 22:Connection refused
- Ubuntu下 ssh : connect to host localhost port 22:Connection refused
- Ubuntu下 ssh : connect to host localhost port 22:Connection refused
- Ubuntu下 ssh : connect to host localhost port 22:Connection refused
- Ubuntu下 ssh : connect to host localhost port 22:Connection refused
- Ubuntu下 ssh : connect to host localhost port 22:Connection refused
- ssh: connect to host localhost port 22: Connection refused
- ssh: connect to host localhost port 22: Connection refused
- ssh: connect to host localhost port 22: Connection refused
- 初识Kettle
- QtConcurrent 名字空间 run函数
- Javascript原型链详解
- Android中发送消息的几种方式
- iBatis简单入门教程
- Ubuntu下 ssh : connect to host localhost port 22:Connection refused
- jquery 操作 class 属性
- Bigfish的安装过程
- 自定义hadoop map/reduce输入文件切割InputFormat 更改输入value的分隔符
- servlet路径
- HDU_5500 Reorder the Books
- 传递闭包 -》Warshell算法
- IntelliJ IDEA 在使用Subversion进行版本管理时,怎么忽略某个文件或者文件夹
- Maven学习笔记3-生命周期与插件