Ask a Question related to Ubuntu, Design and Development.
-
Robbie #1
Automated login for rsync over ssh
Hi,
As the subject suggests, I'm trying to do automated password login for
rsync over ssh.
Firstly, I have to say that I "cannot" use the public/private keys
method for the reason I have no control over the server I'm trying to
connect to. So it must be password authentication.
Secondly (now I'm probably going to get beaten up over this), I'm
trying to automate this process on a Win XP Pro machine.
I've written a Windows app that will backup data from a desktop to a
server and with the Windows app, I create the batch file on the fly
with the required information.
I have this working very well, but as the batch file needs to run as a
scheduled task in the evening, ssh will ask for a password. It's this
part I don't know how to automate.
Here is an example the command line in the batch file:
rsync -vv -aruz --progress --stats --log-format=%n%L
"/cygdrive/c/directory" -e ssh username@host_address:/home/username
I realise I can do this within cygwin and creating an expect script
(or something similar), but the windows app is going to be used by
about 20 people in the department and I don't want to install cygwin
on everyones PC's.
Can anyone help me with this?
Thanks in advance,
Robbie...
Robbie Guest
-
rsync server error
does anyone use rsync as a backup server? it usually works okay, however when i use it on this weekend, it prompts this error msg. please help ... -
rsync -u and --ignore-existing options don't work
rsync serv: aix 4.3.3 ML11 client I am testing with: aix 4.3.3 ML11 I have an rsync server supplying files for the /usr/local directory... -
rsync group?
There is a mailing.unix.rsync group. I don't see too many posts. You might be the one to revive the group. Andreas Kahari... -
rsync or wget?
Hi group, I've just installed apt-proxy. Should I use rsync or wget for fetching packages? I don't really understand the differences. I do... -
unix Q: how to reinstate rsync?
Hi, I did a stupid thing. I installed RsyncX without reading the documentation properly, thus overwriting the supplied version of rsync. I...



Reply With Quote

