Ubuntu下 ssh : connect to host localhost port 22:Connection refused
2013-09-20 11:18
471 查看
造成这个错误的原因可能是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: ...
- 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(ubuntu14.04_LTS)
- 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(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
- Ubuntu16.04 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问题)
- [Hadoop] Ubuntu localhost: ssh: connect to host localhost port 22: Connection refused