Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

Re: rsync to port 8080

Subject: Re: rsync to port 8080
Date: Fri, 19 May 2006 18:30:24 +0000
On Fri, May 19, 2006 at 08:27:25AM +0200, Brent Clark wrote, and it was 
proclaimed:
Hi

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@my.host.co.uk:/spare2/wayne_mail..tar.gz 
wayne_mail..tar.gz

rsync -a -e ssh bclark@my.host.co.uk:8080:/spare2/wayne_mail..tar.gz 
wayne_mail..tar.gz

Kind Regards
Brent Clark


Brent,

I believe what you really want is:
rsync -a -e 'ssh -p 8080' bclark@my.host.co.uk:/spare2/wayne_mail..tar.gz 
wayne_mail..tar.gz

The port number specification in the src/dest arguments is only if you are
using rsync-over-tcp protocol. If using SSH (or other remote-shell protocol),
you need to specify it in the argument to -e.

--
Coleman Kane

<Prev in Thread] Current Thread [Next in Thread>