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

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

7

1 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:

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.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like