So I needed to pushdown some log files off of a box without a public IP, rather then rsync to the jump box / proxy then rsync to my local box i made use of the ssh proxy command.
rsync -avz -e 'ssh -o ProxyCommand="ssh proxxye.url.com -i ~/.ssh/google_compute_engine -W my-internal-ip.internal:22"' my-internal-ip.internal:/var/www/log/workers ~/code/logs/
No comments:
Post a Comment