By using this site, you acknowledge that you have read and understand our Cookie policy, Privacy policy and Terms .

arrow_back Install Hadoop 3.2.0 on Windows 10 using Windows Subsystem for Linux (WSL)

account_circle joe

I installed ssh and restarted it. Now 'ssh localhost' just says 'Connection closed by ::1 port 22.'


reply Reply

comment Comments

account_circle Raymondarrow_drop_down

Have you tried the solution I mentioned in the post? I got the same issue when it is first installed but after the following commands, it work. And also make sure you stop and restart hadoop daemons. 

sudo apt-get install ssh

sudo service ssh restart

I'm not expert in network and I don't think the following solution will definitely help as they are all local traffics. There must be some other reasons that you cannot ssh localhost. For example, is port 22 used by your other programs?  Can you also use IPv4 addresses for localhost instead of the IPv6 one?

Can you try to add firewall rule to allow TCP traffic to ssh port 22?

  • Protocol type: TCP
  • Local port: 22
  • Remote port: All Ports
  • Scope: make sure all your local IP addresses are added.
  • Profiles: Private. I'm choosing this one I will only connect to my wSL when connecting to private network. 

format_quote

person joe access_time 5 months ago
Re: Install Hadoop 3.2.0 on Windows 10 using Windows Subsystem for Linux (WSL)

I installed ssh and restarted it. Now 'ssh localhost' just says 'Connection closed by ::1 port 22.'

reply Reply
account_circle Raymond

Blog posts about Hadoop

open_in_new View