LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   rsync +ssh on different port? (https://www.linuxquestions.org/questions/linux-software-2/rsync-ssh-on-different-port-448112/)

lleb 11-29-2013 02:52 PM

Quote:

Originally Posted by smacedo (Post 4992702)
Hey! From July 2013 - thanks macemoneta - still working :)

(and rsync still does not have a more expedite way!
Also thanks lleb for the tip. Very good.

(I hate to register in forums... this is an exception for tradition sake only!)

remember this is not an rsync issue, but a ssh issue. you are using rsync over ssh. this is why i setup the config file and never have to muck with it again.

pedroit 01-26-2014 04:42 PM

Quote:

Originally Posted by macemoneta (Post 2260607)
The syntax you want is, for example:

rsync -av --progress --inplace --rsh='ssh -p8023' somefile user@host:somedir/

In the example above, rsync will use ssh on port 8023.

2014 and it still works. Thanks!

codepuzzle 08-07-2014 03:01 AM

Thank you ;-)

PrFalken 09-22-2014 07:15 PM

Thank you from 2014 ! :)

tillinghast 03-13-2015 03:13 PM

Many thanks from 2015! :-)

egillette 09-02-2015 06:24 PM

2015 -- over a decade later, and this post is still relevant! :-)

florenceit 09-28-2015 01:09 PM

from Sept. 2015, thanks! :)

hherrera 01-29-2016 05:39 PM

From near 10 years in the future, I must thank you. The sentence just save my day ;)

alikasundara 02-18-2016 04:56 PM

Thanks.
It's Thu 18 Feb 22:55:40 GMT 2016. You've been helping people get their rsync right for almost 10 years now :)

lqsl 08-29-2016 02:57 AM

Thanks from almost 12 years later
 
Thanks from almost 12 years later
:D

zaplQ 08-02-2017 06:41 AM

Quote:

Originally Posted by macemoneta (Post 2260607)
The syntax you want is, for example:

rsync -av --progress --inplace --rsh='ssh -p8023' somefile user@host:somedir/

In the example above, rsync will use ssh on port 8023.


Me too. Thanks dude (Really almost 12 years later (just a few days), but hey, better late than never!)

Quote:

Originally Posted by Reuti (Post 4275496)
It can even be shortcut when you have a ~/.ssh/config:
Code:

Host foobar
    Port 8023
    User the_user_example
    Hostname the.host.example

and issue:
Code:

rsync -av --progress --inplace --rsh=ssh somefile foobar:somedir
Although the thread is old, the usage and technics still apply.

For me the rsync --rsh thing didn't work on my mac. Using the config solution here.

So, Thanks dude (Really more than 6 years later, but hey, better late than never!)


Quote:

Originally Posted by diegors (Post 4604529)
[..]
Edit: I just subscribe to say: Thanks =)

(And I too subscribed especially to say thank you.

Hope all is fine with all you out there!

TheRealVillageIdiot 08-09-2019 03:57 PM

Me, too. Thanks dude (13 years, 2 months, 16 days late, but hey, better late than never!) :p

hehehehe




Seriously though, thanks macemoneta! You haven't been on since 02/20/2017 but I hope you're alive and proud of the help you've provided to thousands over the last decade and a half. God bless your soul.


All times are GMT -5. The time now is 05:06 PM.