Ssh: connect to host localhost port 22: Connection refused on Windows 10

apache-http-serverhadooplocalhostportssh

thanks in advance for the responses !

I've been trying to make a multi node cluster with hadoop, but my mates can't ssh to my server. I have hadoop working, and daemons launched, but when I try to execute the command ssh localhost it gives me the error ssh: connect to host localhost port 22: Connection refused

So if even I can't login to my localhost, how would my mates be able to do it..

I've been having this problem since a week and i've tried lot of things so far but nothing seems to be working. Can anyone lend me a hand ?

apache hadoop ssh localhost port

Best Answer

You need to run a SSH server to allow people to SSH to your machine.

This is the first link I found on google for setting up windows 10's OpenSSH server:

https://www.bleepingcomputer.com/news/microsoft/how-to-install-the-built-in-windows-10-openssh-server/

And so I haven't tested it, however it hopefully shows you enough to allow you to setup SSH on your system and get connected - at which point you'll need to allow connections through your firewall to allow your friends to connect too.

Related Question