【问题标题】:Hadoop ssh installation error on ubuntu - connection refusedubuntu上的Hadoop ssh安装错误-连接被拒绝
【发布时间】:2015-08-04 10:59:36
【问题描述】:

您好,我正在尝试 ssh 到 localhost,但它显示连接拒绝错误

$ sudo addgroup hadoop
$ sudo adduser --ingroup hadoop hduser
user@ubuntu:~$ su - hduser
hduser@ubuntu:~$ ssh-keygen -t rsa -P ""
Generating public/private rsa key pair.
Enter file in which to save the key (/home/hduser/.ssh/id_rsa):
Created directory '/home/hduser/.ssh'.
Your identification has been saved in /home/hduser/.ssh/id_rsa.
Your public key has been saved in /home/hduser/.ssh/id_rsa.pub.
The key fingerprint is:
9b:82:ea:58:b4:e0:35:d7:ff:19:66:a6:ef:ae:0e:d2 hduser@ubuntu
The key's randomart image is:
[...snipp...]
hduser@ubuntu:~$ cat $HOME/.ssh/id_rsa.pub >> $HOME/.ssh/authorized_keys
hduser@ubuntu:~$ ssh localhost
ssh:connect to host localhost port 22: Connection refused

最后一行显示错误,我不知道我做错了什么。我使用 VMware 并使用它运行 ubuntu。

【问题讨论】:

    标签: ubuntu hadoop ssh


    【解决方案1】:

    ****已解决****

    我只需要安装 openssh 服务器,它就可以工作了

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-11-18
      • 2017-08-29
      • 1970-01-01
      • 2017-01-19
      • 2020-05-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多