PDA

View Full Version : push file to remote XP box securely


crainey69
2008-08-25, 08:59 PM CDT
Hello,

I'm sure if I googled this enough, I could find an answer. I have a server at work that does a backup of critical files nightly. By boss doesn't doesn't trust remote backup to the internet and can't find a free one that works with linux and ssh anyway.

Does anyone know of a way/instructions to push a file to a remote XP box. I don't have a ssh server setup on his home computer but, if I need to, I can. It's very easy for me to set this up as a cron job to pull from my Fedora box at home but for some reason, he is very sensitive about his company files and doesn't even like me logging into the server from home. I could continue to snag the backups from home and explain myself down the road if need be to restore and hope my saving the day will forgive my doing what he doesn't like but, I'd rather either push the backup to his home computer or setup his XP computer to just snag it automatically every night after the backup runs.


Thanks

Cory

hceylan
2008-08-26, 12:23 AM CDT
Is this going to be a push or pull?

Depending on the decision, solutions would be
- XP being pushed to: An HTTP server on XP with HTTPS (if XP is professional you can use IIS, or you can install apache onto XP)
- XP pulling, rsync with HTTPS would be another solution.

Hasan Ceylan

crainey69
2008-08-26, 07:29 PM CDT
I would prefer to push the file from the linux server using SSH to the remote XP box nightly and build that into the backup script. I'm guessing all I need is a ssh server running on the XP box I want to send it to.

Nokia
2008-08-27, 01:51 AM CDT
Try WinSCP

hceylan
2008-08-27, 03:52 AM CDT
You can define a scheduled job on XP which kicks off putty's pscp.exe or psftp.exe...
But this won't be bandwidth efficient as it does not have any state info.

For better implementation use rsync with SSL on the server side.

Push to XP is problematic.
- XP needs to be accessible from the internet if the server is on the internet (rather then on the LAN)
- You need SFTP / SCP server on the XP box.
- It won't be incremental (thus high BW usage)

Ceylan

Doug G
2008-08-27, 07:39 PM CDT
For ssh into XP, installing freeSSHD works well for me on windows computers.