rsync: Connection timed out












2















I am not able to list drectories through rsync:



from Host2:



user@host2#sudo rsync user@host1::share
rsync: failed to connect to host1: Connection timed out (110)
rsync error: error in socket IO (code 10) at clientserver.c(122) [Receiver=3.0.7]




It does not show rsync as a service



user@host2#nmap host1_IP //(IP of host1)

PORT STATE SERVICE
20/tcp closed ftp-data
21/tcp open ftp
22/tcp open ssh
23/tcp open telnet
25/tcp open smtp
53/tcp open domain
80/tcp open http
81/tcp closed hosts2-ns
110/tcp open pop3
143/tcp open imap
443/tcp open https
465/tcp closed smtps
587/tcp open submission
783/tcp closed spamassassin
990/tcp closed ftps
993/tcp closed imaps
995/tcp closed pop3s
3306/tcp open mysql
7025/tcp closed unknown
8080/tcp open http-proxy
8081/tcp closed blackice-icecap
10000/tcp closed snet-sensor-mgmt


Could rsync be hidden behind a firewall?










share|improve this question




















  • 1





    RSync doesn't have to have its own service on the remote machine. I RSync from my server through SSH mostly. using user@host::/home/user/folder. That will hook into SSH for file transfers.

    – daboross
    Jun 9 '13 at 3:48













  • Syntax to run over ssh is user@host:/home/user/folder (you provided two colon).

    – olivierb2
    Jan 15 at 9:33
















2















I am not able to list drectories through rsync:



from Host2:



user@host2#sudo rsync user@host1::share
rsync: failed to connect to host1: Connection timed out (110)
rsync error: error in socket IO (code 10) at clientserver.c(122) [Receiver=3.0.7]




It does not show rsync as a service



user@host2#nmap host1_IP //(IP of host1)

PORT STATE SERVICE
20/tcp closed ftp-data
21/tcp open ftp
22/tcp open ssh
23/tcp open telnet
25/tcp open smtp
53/tcp open domain
80/tcp open http
81/tcp closed hosts2-ns
110/tcp open pop3
143/tcp open imap
443/tcp open https
465/tcp closed smtps
587/tcp open submission
783/tcp closed spamassassin
990/tcp closed ftps
993/tcp closed imaps
995/tcp closed pop3s
3306/tcp open mysql
7025/tcp closed unknown
8080/tcp open http-proxy
8081/tcp closed blackice-icecap
10000/tcp closed snet-sensor-mgmt


Could rsync be hidden behind a firewall?










share|improve this question




















  • 1





    RSync doesn't have to have its own service on the remote machine. I RSync from my server through SSH mostly. using user@host::/home/user/folder. That will hook into SSH for file transfers.

    – daboross
    Jun 9 '13 at 3:48













  • Syntax to run over ssh is user@host:/home/user/folder (you provided two colon).

    – olivierb2
    Jan 15 at 9:33














2












2








2








I am not able to list drectories through rsync:



from Host2:



user@host2#sudo rsync user@host1::share
rsync: failed to connect to host1: Connection timed out (110)
rsync error: error in socket IO (code 10) at clientserver.c(122) [Receiver=3.0.7]




It does not show rsync as a service



user@host2#nmap host1_IP //(IP of host1)

PORT STATE SERVICE
20/tcp closed ftp-data
21/tcp open ftp
22/tcp open ssh
23/tcp open telnet
25/tcp open smtp
53/tcp open domain
80/tcp open http
81/tcp closed hosts2-ns
110/tcp open pop3
143/tcp open imap
443/tcp open https
465/tcp closed smtps
587/tcp open submission
783/tcp closed spamassassin
990/tcp closed ftps
993/tcp closed imaps
995/tcp closed pop3s
3306/tcp open mysql
7025/tcp closed unknown
8080/tcp open http-proxy
8081/tcp closed blackice-icecap
10000/tcp closed snet-sensor-mgmt


Could rsync be hidden behind a firewall?










share|improve this question
















I am not able to list drectories through rsync:



from Host2:



user@host2#sudo rsync user@host1::share
rsync: failed to connect to host1: Connection timed out (110)
rsync error: error in socket IO (code 10) at clientserver.c(122) [Receiver=3.0.7]




It does not show rsync as a service



user@host2#nmap host1_IP //(IP of host1)

PORT STATE SERVICE
20/tcp closed ftp-data
21/tcp open ftp
22/tcp open ssh
23/tcp open telnet
25/tcp open smtp
53/tcp open domain
80/tcp open http
81/tcp closed hosts2-ns
110/tcp open pop3
143/tcp open imap
443/tcp open https
465/tcp closed smtps
587/tcp open submission
783/tcp closed spamassassin
990/tcp closed ftps
993/tcp closed imaps
995/tcp closed pop3s
3306/tcp open mysql
7025/tcp closed unknown
8080/tcp open http-proxy
8081/tcp closed blackice-icecap
10000/tcp closed snet-sensor-mgmt


Could rsync be hidden behind a firewall?







rsync






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jul 12 '13 at 20:35









belacqua

15.9k1473103




15.9k1473103










asked Apr 9 '13 at 12:52









Subhransu MishraSubhransu Mishra

2432521




2432521








  • 1





    RSync doesn't have to have its own service on the remote machine. I RSync from my server through SSH mostly. using user@host::/home/user/folder. That will hook into SSH for file transfers.

    – daboross
    Jun 9 '13 at 3:48













  • Syntax to run over ssh is user@host:/home/user/folder (you provided two colon).

    – olivierb2
    Jan 15 at 9:33














  • 1





    RSync doesn't have to have its own service on the remote machine. I RSync from my server through SSH mostly. using user@host::/home/user/folder. That will hook into SSH for file transfers.

    – daboross
    Jun 9 '13 at 3:48













  • Syntax to run over ssh is user@host:/home/user/folder (you provided two colon).

    – olivierb2
    Jan 15 at 9:33








1




1





RSync doesn't have to have its own service on the remote machine. I RSync from my server through SSH mostly. using user@host::/home/user/folder. That will hook into SSH for file transfers.

– daboross
Jun 9 '13 at 3:48







RSync doesn't have to have its own service on the remote machine. I RSync from my server through SSH mostly. using user@host::/home/user/folder. That will hook into SSH for file transfers.

– daboross
Jun 9 '13 at 3:48















Syntax to run over ssh is user@host:/home/user/folder (you provided two colon).

– olivierb2
Jan 15 at 9:33





Syntax to run over ssh is user@host:/home/user/folder (you provided two colon).

– olivierb2
Jan 15 at 9:33










1 Answer
1






active

oldest

votes


















0














If you are not using rsync via ssh, you need to have rsyncd running on the remote side.



For the firewall, make sure port 873 is open for tcp.



Assuming /etc/services is correct, you might open it for udp 873 as well.



$ egrep rsync /etc/services
rsync 873/tcp
rsync 873/udp





share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    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%2faskubuntu.com%2fquestions%2f279557%2frsync-connection-timed-out%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














    If you are not using rsync via ssh, you need to have rsyncd running on the remote side.



    For the firewall, make sure port 873 is open for tcp.



    Assuming /etc/services is correct, you might open it for udp 873 as well.



    $ egrep rsync /etc/services
    rsync 873/tcp
    rsync 873/udp





    share|improve this answer




























      0














      If you are not using rsync via ssh, you need to have rsyncd running on the remote side.



      For the firewall, make sure port 873 is open for tcp.



      Assuming /etc/services is correct, you might open it for udp 873 as well.



      $ egrep rsync /etc/services
      rsync 873/tcp
      rsync 873/udp





      share|improve this answer


























        0












        0








        0







        If you are not using rsync via ssh, you need to have rsyncd running on the remote side.



        For the firewall, make sure port 873 is open for tcp.



        Assuming /etc/services is correct, you might open it for udp 873 as well.



        $ egrep rsync /etc/services
        rsync 873/tcp
        rsync 873/udp





        share|improve this answer













        If you are not using rsync via ssh, you need to have rsyncd running on the remote side.



        For the firewall, make sure port 873 is open for tcp.



        Assuming /etc/services is correct, you might open it for udp 873 as well.



        $ egrep rsync /etc/services
        rsync 873/tcp
        rsync 873/udp






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jun 9 '13 at 3:41









        belacquabelacqua

        15.9k1473103




        15.9k1473103






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • 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%2faskubuntu.com%2fquestions%2f279557%2frsync-connection-timed-out%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

            Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

            ComboBox Display Member on multiple fields

            Is it possible to collect Nectar points via Trainline?