ubuntu hadoop 下ssh 登陆不了 connect to host localhost port 22:Connection refused
来源:互联网 发布:大淘客到底是什么软件 编辑:程序博客网 时间:2024/05/22 17:07
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命令安装即可
- ubuntu hadoop 下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
- 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下 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
- hadoop localhost:ssh:connect to host localhost port 22:Connection refused问题
- ssh: connect to host localhost port 22: Connection refused
- test
- 第12周项目6-太乐了多文件版
- 【黑马程序员】java多线程同步不安全问题,锁和死锁等总结
- MetaSploit 命令行用法
- windows键位虚拟操作标识符
- ubuntu hadoop 下ssh 登陆不了 connect to host localhost port 22:Connection refused
- 友元函数和友元类
- php cli多进程
- Express设置主机头
- OSPF协议工作原理
- poj 3252(细心+组合数溢出+边界条件计算+算上数据本身)
- Stein算法求最大公约数
- 关于C++默认构造函数的定义和调用
- 【转】常见的正则表达式