Re: rsync to port 8080



Brent Clark wrote:
Could anyone please help me with rsync

Im running ssh on port 8080, and I cant get rsync to connect.

Ive tried

rsync -a --port=8080 bclark@xxxxxxxxxxxxx:/spare2/wayne_mail..tar.gz wayne_mail..tar.gz

rsync -a -e ssh bclark@xxxxxxxxxxxxx:8080:/spare2/wayne_mail..tar.gz wayne_mail..tar.gz

$ rsync -e 'ssh -p 8080' [...]

seems to work (although I vaguely recall it not working, so maybe it's dependant on the rsync version?)

Putting something like this into ~/.ssh/config will also work:

Host my.host.co.uk
Port 8080

--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.



Relevant Pages

  • FreeBSD Ports Security Advisory FreeBSD-SA-02:10.rsync
    ... FreeBSD only: NO ... rsync is a powerful network file distribution/synchronization utility. ... The rsync port, versions prior to rsync-2.5.1_1, is not careful enough ... correction date, ...
    (FreeBSD-Security)
  • How to use "from=" with "command=" ???
    ... My authorized_keys file syntax is being rejected even though I'm sure it's ... Failed rsa for rsync from 10.142.125.64 port 32817 ...
    (comp.security.ssh)
  • Re: rsync --port=PORT
    ... Note that you're specifying a port for *SSH* here, not rsync. ... --port is for specyfing an alternate rsyncd port, ...
    (comp.security.ssh)
  • Re: rsync server on SCO 5.0.,7
    ... rsync server on SCO 5.0.,7 ... on port 873 ... client rsync command line uses either an absolute path, or a path relative to the users home dir on the server ...
    (comp.unix.sco.misc)
  • Re: Remote Port Mapping
    ... [about controlling the bind address of port forwards] ... >destined to be supported by OpenSSH in the future - I haven't seen a ... Good judgement comes with experience. ...
    (comp.security.ssh)