LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Software
User Name
Password
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

Tags used in this thread
Popular LQ Tags , , , ,

Reply
 
Thread Tools
Old 05-24-2006, 11:44 AM   #1
masterross
Member
 
Registered: Nov 2005
Distribution: Slack 10.2, CentOS 4.x
Posts: 81
Thanked: 0
rsync +ssh on different port?


[Log in to get rid of this advertisement]
hi,

i want to connect via rsync to remote machine with ssh running on different port

can u assist me?

thanks,
Ross
masterross is offline     Reply With Quote
Old 05-24-2006, 12:29 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86, x86_64, PPC
Posts: 3,543
Blog Entries: 1
Thanked: 0
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.
macemoneta is offline  
Tag This Post , , , ,
Reply With Quote
Old 05-24-2006, 01:26 PM   #3
masterross
Member
 
Registered: Nov 2005
Distribution: Slack 10.2, CentOS 4.x
Posts: 81
Thanked: 0

Original Poster
thank u macemoneta,

that is what i need
masterross is offline     Reply With Quote
Old 12-09-2008, 03:07 PM   #4
downhillgames
LQ Newbie
 
Registered: Aug 2005
Location: Grand Rapids, MI
Distribution: *Buntus
Posts: 19
Thanked: 0
Quote:
Originally Posted by masterross View Post
thank u macemoneta,

that is what i need
Me, too. Thanks dude (2 years late, but hey, better late than never! )
downhillgames is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
rsync->ssh port lackluster Linux - Software 2 05-27-2007 09:42 PM
rsync and ssh? IchBin Linux - Newbie 4 02-13-2005 04:41 PM
rsync and ssh port ohcarol Linux - Software 2 12-22-2004 11:29 AM
Rsync vs ssh satimis Linux - Software 7 04-04-2004 07:58 AM
Rsync and SSH Phaethar Linux - Software 3 03-22-2004 04:18 PM


All times are GMT -5. The time now is 09:16 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration