Re: rsync and ssh port forwarding (2nd try)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tony Nelson wrote
: At 8:12 PM -0700 10/5/07, Dean S. Messing wrote:
: >I am trying to `rsync -e ssh' with a work machine "B" from my laptop
: >at home.  I only have direct access from home to work machine "A".
: >
: >For ordinary use of `ssh' and `scp' I use port forwarding via "A" to
: >"B" from my laptop when I use it from home.  Thus, in the background
: >on my laptop (when I'm home), I have running:
: >`ssh -N A.WorkDomain  -L  N:B:22'

<snip>

: >from home I want to do something like
: >
: >rysnc -p N -a -e ssh --delete localhost:/tmp/ /tmp/
: >
: >The problem is that there doesn't appear to be any such "port flag"
: >for rsync.  Am I just missing the flag among the gajillion or so
: >rsync flags?  If not, how does one do this?

: According to the rsync man page, something like:
: 
:     rsync -a -e "ssh -p N" --delete localhost:/tmp/ /tmp/

How obvious!  (I was looking for an rsync port flag.)
Thanks Tony.

Dean


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux