Ubuntu下 ssh : connect to host localhost port 22:Connection refused
来源:互联网 发布:淘宝运营策划书 编辑:程序博客网 时间:2024/06/08 17:47
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命令安装即可
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
- 如何解决c++中循环包含头文件的问题
- Select和epoll的区别
- ORA-28000: the account is locked-的解决办法
- 薄壳理论在形状匹配等领域的应用
- Java-WebSocket 项目的研究(一) Java-WebSocket类图描述
- Ubuntu下 ssh : connect to host localhost port 22:Connection refused
- flume
- Android开发环境为什么需要依赖jvm
- Java-WebSocket 项目的研究(二) :客户端连接服务器并发送消息实例
- UI设计师要掌握的工具
- vxWorks将何去何从- V7来了
- DIY手机建站系统
- Spring整合出现的错误,那位大神帮一下!!!!!!!!!
- 因子和阶乘