So Ive been looking into taking a windows 2k machine and backing up my documents to a debian box over ssh. I am using putty as my ssh client and have tried many different ways to connect and get it to backup my files. Could someone possibly show me an example and what the examples mean so that I may write a proper script for this. This is what I have come up with. Ive tried this:
SET SECHAW_IDENTITY="C:\Program Files\cwRsync\doc\ssh-keygen.html"
SET SECHAW_CMD="C:\Program Files\cwRsync\bin\rsync.exe" rsync -r /cygdrive/c/MyDocuments/ 18.104.22.168:/home/blackrose/Backup/
SET SECHAW_TUNNEL=ssh -i "C:\Program Files\cwRsync\doc\ssh-keygen.html" -L 9119:127.0.0.1:873 SvcwRsync@22.214.171.124 -T -N
"C:\Program Files\cwRsync\bin\sechaw.exe" --verbose
Also ive tried this:
@ echo off
rem Rsync job control file
C:\Cygwin\bin\rsync -vrtz --password-file=C:\Documents and Settings\Administrator\My Documents Blackrose@126.96.36.199::My Documents"/cygdrive/c/WINDOWS/My Documents/"
C:\Cygwin\bin\rsync -vrtz --password-file=C:\Documents and Settings\Administrator\My Documents Blackrose@188.8.131.52::My Documents "/cygdrive/c/Documents and Settings/administrator/My Documents/"