Ubuntu下 ssh : connect to host localhost port 22:Connection refused
来源:互联网 发布:淘宝卖家评论回复 编辑:程序博客网 时间:2024/05/29 02:15
Ubuntu下测试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命令安装即可
本文转自:http://asyty.iteye.com/blog/1440141
- 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
- textarea的maxlength和wrap属性
- 再谈Jquery Ajax方法传递到action
- iOS AvPlayer AvAudioPlayer音频的后台播放问题
- IOS学习——IOS上MediaPlayer framework实现视频播放
- 百度两年经历:从学生到程序员【转】
- Ubuntu下 ssh : connect to host localhost port 22:Connection refused
- javascript Math 对象 算数值
- 最快入门ios开发-第三,四天
- vsFTPd 服务器初学者指南
- JVM工作原理和特点
- Python 模块paramiko简单使用方法
- 二叉树汇总
- 巧妙位运算合并坐标2个数x,y,结果作为子窗口ID,当求坐标时再拆开ID得到坐标(x,y)
- linux device driver container_of理解