I am currently away from my LAN and I need to do a backup of my laptop. I have a somewhat recent copy of my laptop on my server and I usually back the laptop up using rsync. Now I wish to do that, but outside of my LAN.
In short I want to send data from A to C via B, where A is my laptop, B my router and C my server.
I found this command: A$ scp -oProxyCommand="ssh B nc %h %p" thefile C:destination
, that works fine for transferring files via scp - but since I already have most of the data on my server I wish to use rsync to only sync the delta.
I have tried: A$ rsync file -e 'ssh B ssh' C
, and that works as far as I am prompted to give the password for user:C. However, when I enter the password nothing happens. The router is running Tomato v1.28 and I am unable to set it up to utilize an ssh config file to enable it to log onto C w/o a password.
Any ideas on how to make this work?
ProxyCommand
in the configuration file. Rsync should pick that up.