Need help to set up home server - client network (RedHat 7)












1














I have very basic knowledge on networking. I recently purchased a Dell server to do my own development work. I have installed a RedHat Linux server. I am trying to set up a local server client set up.



Here is what I did.




  1. Connected the server and client computers to a router

  2. Assigned a static IP to ethernet2


  3. Opened port 22 as below



    firewall-cmd --zone=public --add-port=22/tcp --permanent
    firewall-cmd --reload



Now I am trying to connect to this server through Putty from a Windows client machine. But I am getting a




connection timed out




error. What I am missing? Can someone help me to set it up?

I've never used RedHat before.










share|improve this question
























  • You didn't mention whether ssh has been enabled on your Red Hat machine. Run systemctl enable sshd and systemctl start sshd
    – n8te
    Dec 11 at 5:42
















1














I have very basic knowledge on networking. I recently purchased a Dell server to do my own development work. I have installed a RedHat Linux server. I am trying to set up a local server client set up.



Here is what I did.




  1. Connected the server and client computers to a router

  2. Assigned a static IP to ethernet2


  3. Opened port 22 as below



    firewall-cmd --zone=public --add-port=22/tcp --permanent
    firewall-cmd --reload



Now I am trying to connect to this server through Putty from a Windows client machine. But I am getting a




connection timed out




error. What I am missing? Can someone help me to set it up?

I've never used RedHat before.










share|improve this question
























  • You didn't mention whether ssh has been enabled on your Red Hat machine. Run systemctl enable sshd and systemctl start sshd
    – n8te
    Dec 11 at 5:42














1












1








1







I have very basic knowledge on networking. I recently purchased a Dell server to do my own development work. I have installed a RedHat Linux server. I am trying to set up a local server client set up.



Here is what I did.




  1. Connected the server and client computers to a router

  2. Assigned a static IP to ethernet2


  3. Opened port 22 as below



    firewall-cmd --zone=public --add-port=22/tcp --permanent
    firewall-cmd --reload



Now I am trying to connect to this server through Putty from a Windows client machine. But I am getting a




connection timed out




error. What I am missing? Can someone help me to set it up?

I've never used RedHat before.










share|improve this question















I have very basic knowledge on networking. I recently purchased a Dell server to do my own development work. I have installed a RedHat Linux server. I am trying to set up a local server client set up.



Here is what I did.




  1. Connected the server and client computers to a router

  2. Assigned a static IP to ethernet2


  3. Opened port 22 as below



    firewall-cmd --zone=public --add-port=22/tcp --permanent
    firewall-cmd --reload



Now I am trying to connect to this server through Putty from a Windows client machine. But I am getting a




connection timed out




error. What I am missing? Can someone help me to set it up?

I've never used RedHat before.







networking router webserver redhat-enterprise-linux






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 11 at 4:31









Blackwood

2,89561727




2,89561727










asked Dec 11 at 4:16









Thomson

61




61












  • You didn't mention whether ssh has been enabled on your Red Hat machine. Run systemctl enable sshd and systemctl start sshd
    – n8te
    Dec 11 at 5:42


















  • You didn't mention whether ssh has been enabled on your Red Hat machine. Run systemctl enable sshd and systemctl start sshd
    – n8te
    Dec 11 at 5:42
















You didn't mention whether ssh has been enabled on your Red Hat machine. Run systemctl enable sshd and systemctl start sshd
– n8te
Dec 11 at 5:42




You didn't mention whether ssh has been enabled on your Red Hat machine. Run systemctl enable sshd and systemctl start sshd
– n8te
Dec 11 at 5:42










1 Answer
1






active

oldest

votes


















0














By default, redhat 7 comes with firewalld enabled with the ssh service configured in the public zone, which means you can connect through ssh without further configuration



Here are some things you can check:




  1. Verify both server and the client are in the same network and they can ping each other.


  2. If you thing it's a firewall related issue you can flush all rules with the following command and test again:




    iptables -F




  3. Provide more information to see if we can help (IP addresses, routing table, firewall rules, etc.).



Waiting for your feedback.






share|improve this answer








New contributor




camaleon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


















    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%2f1382509%2fneed-help-to-set-up-home-server-client-network-redhat-7%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














    By default, redhat 7 comes with firewalld enabled with the ssh service configured in the public zone, which means you can connect through ssh without further configuration



    Here are some things you can check:




    1. Verify both server and the client are in the same network and they can ping each other.


    2. If you thing it's a firewall related issue you can flush all rules with the following command and test again:




      iptables -F




    3. Provide more information to see if we can help (IP addresses, routing table, firewall rules, etc.).



    Waiting for your feedback.






    share|improve this answer








    New contributor




    camaleon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0














      By default, redhat 7 comes with firewalld enabled with the ssh service configured in the public zone, which means you can connect through ssh without further configuration



      Here are some things you can check:




      1. Verify both server and the client are in the same network and they can ping each other.


      2. If you thing it's a firewall related issue you can flush all rules with the following command and test again:




        iptables -F




      3. Provide more information to see if we can help (IP addresses, routing table, firewall rules, etc.).



      Waiting for your feedback.






      share|improve this answer








      New contributor




      camaleon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





















        0












        0








        0






        By default, redhat 7 comes with firewalld enabled with the ssh service configured in the public zone, which means you can connect through ssh without further configuration



        Here are some things you can check:




        1. Verify both server and the client are in the same network and they can ping each other.


        2. If you thing it's a firewall related issue you can flush all rules with the following command and test again:




          iptables -F




        3. Provide more information to see if we can help (IP addresses, routing table, firewall rules, etc.).



        Waiting for your feedback.






        share|improve this answer








        New contributor




        camaleon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        By default, redhat 7 comes with firewalld enabled with the ssh service configured in the public zone, which means you can connect through ssh without further configuration



        Here are some things you can check:




        1. Verify both server and the client are in the same network and they can ping each other.


        2. If you thing it's a firewall related issue you can flush all rules with the following command and test again:




          iptables -F




        3. Provide more information to see if we can help (IP addresses, routing table, firewall rules, etc.).



        Waiting for your feedback.







        share|improve this answer








        New contributor




        camaleon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        share|improve this answer



        share|improve this answer






        New contributor




        camaleon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        answered yesterday









        camaleon

        214




        214




        New contributor




        camaleon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.





        New contributor





        camaleon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






        camaleon is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






























            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%2f1382509%2fneed-help-to-set-up-home-server-client-network-redhat-7%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

            RAC Tourist Trophy