Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 12-22-2004, 06:40 AM   #1
Registered: Dec 2004
Location: Nepal
Posts: 86

Rep: Reputation: 15
rsync and ssh port


I want to backup some files from remote machine with rsync and ssh, but my ssh uses different port ie 2002. Could you please help me with the rsync command for specifying command. for eg.

$ rsync -avr -e ssh thitto@ /dstdir/

Is this correct?
Old 12-22-2004, 10:56 AM   #2
Registered: Dec 2004
Location: Chennai, India
Distribution: Red Hat, Knoppix
Posts: 86

Rep: Reputation: 15
to specify a port

rsync --port=n
Old 12-22-2004, 11:29 AM   #3
Registered: Oct 2003
Location: Linux world
Distribution: redhat,mandy,centos,debian,ubuntu
Posts: 209

Rep: Reputation: 30
can you try this

rsync -vrae 'ssh -p 8022' /home/bill/Gates/


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
auto ssh, and the rsync Swakoo Linux - Networking 5 08-25-2005 07:00 AM
rsync and ssh? IchBin Linux - Newbie 4 02-13-2005 04:41 PM
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 > Forums > Linux Forums > Linux - Software

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

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