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












0














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










share|improve this question






















  • is SSH running on your server? Provide server logs, client logs to help debug the problem.
    – djsmiley2k
    Dec 12 '18 at 14:07










  • mmh, I have a question, i'm really new into all of these, when I do ssh localhost, it's on my local computer address right ? so I'm using my own PC for the server ? If so, I can't find the logs, I only have a " SecurityAuth-CRYSTA.audit "
    – Mich
    Dec 12 '18 at 14:13










  • Yes, localhost will make it connect back to 127.0.0.1, your own machine. You need to start a SSH server, it isn't something that's running by default, generally.
    – djsmiley2k
    Dec 12 '18 at 14:14










  • okay! I launched the hadoop daemons and the server is running on localhost:9870 , how would i be able to get connected to this server? One of my mate has it working on his pc too, but i can't seem to join our pcs with ssh-keygen and ssh [his ip]
    – Mich
    Dec 12 '18 at 14:20






  • 1




    okay so I've been on the wrong path since a long time.. i've been following a lot of tutorials but having trouble understanding them. My main goal is to connect my pc with my friend's pc and make a multi node cluster with hadoop. How can I acheive that ? or have you got any tutorial for windows ?
    – Mich
    Dec 12 '18 at 14:24
















0














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










share|improve this question






















  • is SSH running on your server? Provide server logs, client logs to help debug the problem.
    – djsmiley2k
    Dec 12 '18 at 14:07










  • mmh, I have a question, i'm really new into all of these, when I do ssh localhost, it's on my local computer address right ? so I'm using my own PC for the server ? If so, I can't find the logs, I only have a " SecurityAuth-CRYSTA.audit "
    – Mich
    Dec 12 '18 at 14:13










  • Yes, localhost will make it connect back to 127.0.0.1, your own machine. You need to start a SSH server, it isn't something that's running by default, generally.
    – djsmiley2k
    Dec 12 '18 at 14:14










  • okay! I launched the hadoop daemons and the server is running on localhost:9870 , how would i be able to get connected to this server? One of my mate has it working on his pc too, but i can't seem to join our pcs with ssh-keygen and ssh [his ip]
    – Mich
    Dec 12 '18 at 14:20






  • 1




    okay so I've been on the wrong path since a long time.. i've been following a lot of tutorials but having trouble understanding them. My main goal is to connect my pc with my friend's pc and make a multi node cluster with hadoop. How can I acheive that ? or have you got any tutorial for windows ?
    – Mich
    Dec 12 '18 at 14:24














0












0








0







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










share|improve this question













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







ssh apache-http-server port localhost hadoop






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 12 '18 at 13:56









Mich

1




1












  • is SSH running on your server? Provide server logs, client logs to help debug the problem.
    – djsmiley2k
    Dec 12 '18 at 14:07










  • mmh, I have a question, i'm really new into all of these, when I do ssh localhost, it's on my local computer address right ? so I'm using my own PC for the server ? If so, I can't find the logs, I only have a " SecurityAuth-CRYSTA.audit "
    – Mich
    Dec 12 '18 at 14:13










  • Yes, localhost will make it connect back to 127.0.0.1, your own machine. You need to start a SSH server, it isn't something that's running by default, generally.
    – djsmiley2k
    Dec 12 '18 at 14:14










  • okay! I launched the hadoop daemons and the server is running on localhost:9870 , how would i be able to get connected to this server? One of my mate has it working on his pc too, but i can't seem to join our pcs with ssh-keygen and ssh [his ip]
    – Mich
    Dec 12 '18 at 14:20






  • 1




    okay so I've been on the wrong path since a long time.. i've been following a lot of tutorials but having trouble understanding them. My main goal is to connect my pc with my friend's pc and make a multi node cluster with hadoop. How can I acheive that ? or have you got any tutorial for windows ?
    – Mich
    Dec 12 '18 at 14:24


















  • is SSH running on your server? Provide server logs, client logs to help debug the problem.
    – djsmiley2k
    Dec 12 '18 at 14:07










  • mmh, I have a question, i'm really new into all of these, when I do ssh localhost, it's on my local computer address right ? so I'm using my own PC for the server ? If so, I can't find the logs, I only have a " SecurityAuth-CRYSTA.audit "
    – Mich
    Dec 12 '18 at 14:13










  • Yes, localhost will make it connect back to 127.0.0.1, your own machine. You need to start a SSH server, it isn't something that's running by default, generally.
    – djsmiley2k
    Dec 12 '18 at 14:14










  • okay! I launched the hadoop daemons and the server is running on localhost:9870 , how would i be able to get connected to this server? One of my mate has it working on his pc too, but i can't seem to join our pcs with ssh-keygen and ssh [his ip]
    – Mich
    Dec 12 '18 at 14:20






  • 1




    okay so I've been on the wrong path since a long time.. i've been following a lot of tutorials but having trouble understanding them. My main goal is to connect my pc with my friend's pc and make a multi node cluster with hadoop. How can I acheive that ? or have you got any tutorial for windows ?
    – Mich
    Dec 12 '18 at 14:24
















is SSH running on your server? Provide server logs, client logs to help debug the problem.
– djsmiley2k
Dec 12 '18 at 14:07




is SSH running on your server? Provide server logs, client logs to help debug the problem.
– djsmiley2k
Dec 12 '18 at 14:07












mmh, I have a question, i'm really new into all of these, when I do ssh localhost, it's on my local computer address right ? so I'm using my own PC for the server ? If so, I can't find the logs, I only have a " SecurityAuth-CRYSTA.audit "
– Mich
Dec 12 '18 at 14:13




mmh, I have a question, i'm really new into all of these, when I do ssh localhost, it's on my local computer address right ? so I'm using my own PC for the server ? If so, I can't find the logs, I only have a " SecurityAuth-CRYSTA.audit "
– Mich
Dec 12 '18 at 14:13












Yes, localhost will make it connect back to 127.0.0.1, your own machine. You need to start a SSH server, it isn't something that's running by default, generally.
– djsmiley2k
Dec 12 '18 at 14:14




Yes, localhost will make it connect back to 127.0.0.1, your own machine. You need to start a SSH server, it isn't something that's running by default, generally.
– djsmiley2k
Dec 12 '18 at 14:14












okay! I launched the hadoop daemons and the server is running on localhost:9870 , how would i be able to get connected to this server? One of my mate has it working on his pc too, but i can't seem to join our pcs with ssh-keygen and ssh [his ip]
– Mich
Dec 12 '18 at 14:20




okay! I launched the hadoop daemons and the server is running on localhost:9870 , how would i be able to get connected to this server? One of my mate has it working on his pc too, but i can't seem to join our pcs with ssh-keygen and ssh [his ip]
– Mich
Dec 12 '18 at 14:20




1




1




okay so I've been on the wrong path since a long time.. i've been following a lot of tutorials but having trouble understanding them. My main goal is to connect my pc with my friend's pc and make a multi node cluster with hadoop. How can I acheive that ? or have you got any tutorial for windows ?
– Mich
Dec 12 '18 at 14:24




okay so I've been on the wrong path since a long time.. i've been following a lot of tutorials but having trouble understanding them. My main goal is to connect my pc with my friend's pc and make a multi node cluster with hadoop. How can I acheive that ? or have you got any tutorial for windows ?
– Mich
Dec 12 '18 at 14:24










1 Answer
1






active

oldest

votes


















0














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.






share|improve this answer





















    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1382970%2fssh-connect-to-host-localhost-port-22-connection-refused-on-windows-10%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    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.






    share|improve this answer


























      0














      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.






      share|improve this answer
























        0












        0








        0






        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.






        share|improve this 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.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Dec 12 '18 at 14:22









        djsmiley2k

        4,89412335




        4,89412335






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1382970%2fssh-connect-to-host-localhost-port-22-connection-refused-on-windows-10%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            "Incorrect syntax near the keyword 'ON'. (on update cascade, on delete cascade,)

            Alcedinidae

            Origin of the phrase “under your belt”?