[LUNI] automated SCP in windows
samir at esamir.com
Tue Aug 15 12:48:14 CDT 2006
Is the win2k3 box on the same network? I wonder if you setup a profile
for putty with a pre-shared key/tunnels if you could just script win2k3
to mount \\localhost\share and then cp everything to that share. Once
transfered, kill putty?
Actually.... If I'm reading this right, bitvise lets you run an ssh
server on your windows box.
Can't you write a simple bash script and add it as a crontab job to your
scp user at win2k3server:C://db//access.db /home/backup
(no clue on the syntax of the windows directories. ) Just have the
linux machine pull the db nightly or whenever you need it. And run
winsshd as a service. If it doesn't run as a service check this out:
since you have an ssh server on windows, you can simply use sshfs-fuse
to mount the entire C drive if you wanted to and pull whatever file you
Chris McKeever wrote:
> Scenario: remote Win2K3 server with a Access Database. Needs to be
> nightly transfered our internal network.
> I know of WinSCP and Bitvise Tunnelier - but I dont know if they can
> be automated.
> Worse case, is a wget from an internal server to a https: password web
> directory - but I would rather not -
> Any ideas of an automated way for this?? I guess if I look at it from
> the other side, and get a SSH server installed on the remote machine I
> can scp from the local linux box....that may be the way to go.
More information about the luni