Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
05-24-2006, 10:44 AM
#1
Member
Registered: Nov 2005
Distribution: Slack 10.2, CentOS 4.x
Posts: 83
Rep:
rsync +ssh on different port?
hi,
i want to connect via rsync to remote machine with ssh running on different port
can u assist me?
thanks,
Ross
Click here to see the post LQ members have rated as the most helpful post in this thread.
05-24-2006, 11:29 AM
#2
Senior Member
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,500
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.
2 members found this post helpful.
05-24-2006, 12:26 PM
#3
Member
Registered: Nov 2005
Distribution: Slack 10.2, CentOS 4.x
Posts: 83
Original Poster
Rep:
thank u macemoneta,
that is what i need
12-09-2008, 02:07 PM
#4
LQ Newbie
Registered: Aug 2005
Location: Grand Rapids, MI
Distribution: *Buntus
Posts: 19
Rep:
Quote:
Originally Posted by
masterross
thank u macemoneta,
that is what i need
Me, too. Thanks dude (2 years late, but hey, better late than never!
)
01-04-2011, 01:31 PM
#5
LQ Newbie
Registered: Jan 2011
Posts: 1
Rep:
Quote:
Originally Posted by
downhillgames
Me, too. Thanks dude (2 years late, but hey, better late than never!
)
Me, too. Thanks dude (2 years late, but hey, better late than never!
heheheh
01-13-2011, 10:43 AM
#6
LQ Newbie
Registered: Jan 2011
Posts: 1
Rep:
Quote:
Originally Posted by
ppro
Me, too. Thanks dude (2 years late, but hey, better late than never!
heheheh
Me, too. Thanks dude (2 years late + 2 days, but hey, better late than never!
03-01-2011, 01:12 PM
#7
LQ Newbie
Registered: Oct 2004
Distribution: Fedora
Posts: 11
Rep:
Quote:
Originally Posted by
felipelalli
Me, too. Thanks dude (2 years late + 2 days, but hey, better late than never!
Me, too. Thanks dude (4 years late + 282 days, but hey, better late than never!
)
03-01-2011, 01:40 PM
#8
Member
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 11.4
Posts: 970
Rep:
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.
1 members found this post helpful.
06-30-2011, 12:50 PM
#9
LQ Newbie
Registered: Jun 2011
Posts: 1
Rep:
Quote:
Originally Posted by
Reuti
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
Thanks for the tip, 5+ years in the future!
08-09-2011, 01:23 PM
#10
LQ Newbie
Registered: Aug 2011
Posts: 1
Rep:
Ahh .. still works ..
The command above with the 'rsh' option still works for me .. Yayyy !!!
12-02-2011, 06:51 AM
#11
LQ Newbie
Registered: Jan 2011
Posts: 7
Rep:
Quote:
Originally Posted by
macemoneta
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.
Thank You. From 2011!
02-16-2012, 07:02 PM
#12
LQ Newbie
Registered: Feb 2012
Posts: 1
Rep:
Quote:
Originally Posted by
macemoneta
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 (5.73 years late, but hey, better late than never! )
Quote:
Originally Posted by Reuti
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.
Me, too. Thanks dude (1.12 years late, but hey, better late than never! )
Edit: I just subscribe to say: Thanks =)
04-27-2012, 02:37 PM
#13
LQ Newbie
Registered: Apr 2012
Posts: 1
Rep:
Quote:
Originally Posted by
macemoneta
rsync -av --progress --inplace --rsh='ssh -p8023' somefile user@host:somedir/
Let me register here just to thank you from the future, as the other people here.
05-01-2012, 05:15 AM
#14
Member
Registered: Mar 2005
Location: South Africa
Distribution: Centos, Fedora, Ubuntu desktop, IPCop
Posts: 167
Rep:
Quote:
Originally Posted by
macemoneta
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.
Many thanks - now I can backup my IPCop Update Accelerator cache, damned if I could figure this out from the rsync man page.
Thread Tools
Search this Thread
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
rsync->ssh port
lackluster
Linux - Software
2
05-27-2007 08:42 PM
rsync and ssh?
IchBin
Linux - Newbie
4
02-13-2005 03:41 PM
rsync and ssh port
ohcarol
Linux - Software
2
12-22-2004 10:29 AM
Rsync vs ssh
satimis
Linux - Software
7
04-04-2004 06:58 AM
Rsync and SSH
Phaethar
Linux - Software
3
03-22-2004 03:18 PM
All times are GMT -5. The time now is 02:57 AM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News