I am currently looking at have a scheduled task set-up that will transfer a file from a Windows system to a remote host (possibly another Windows or Linux). In linux I know this can easily be done with an SSH key exchange, and then using a cron job to run an scp command.

Is there a similar feature in Windows? - preferably without installing anything on the system. My Windows knowledge is not that great to be honest (you may have guessed this already). The devices are not in the same domain, but reachable over the network.

Thanks in advance,


  • If they are on the same network why exactly do you want a secure connection? You would do it in a very similar way as Linux. You would start a script that creates a ssh connection then transfers the files when the scheduled task is run. There are many ways to do this. – Ramhound Jun 19 '12 at 12:36

For scp there putty/pscp can be used.

In place of cron jobs Windows has Scheduled Tasks.


To be able to connect to a Windows machine using SSH. It is required to have a SSH server/daemon installed on such a Windows machine. One solution for this is OpenSSH

You can read more about using SSH in a Windows Environment.

  • Ozair Kafray, ideally I would rather not have a something installed on the machine – MHibbin Jun 19 '12 at 15:29
  • I don't know, neither have heard of anything for this built into windows – Ozair Kafray Jun 20 '12 at 18:07
  • pscp/ psftp it is, that has been accepted as a potential solution. @Ozair Kafray, can you do a key exchange with this and two windows machines? - to avoid need passwords? - and enable automation. Thanks in advance if so, can you help with the commands... I had a look through the docs, but to no avail. – MHibbin Jun 21 '12 at 18:37
  • I am sure it would be possible to connect two windows machines if at one of them is running a ssh daemon. A preliminary search tells me that even this is not available on a windows machine by default.sshwindows.sourceforge.net seems to have the cleanest solution if you are allowed to install something on your machine. – Ozair Kafray Jun 22 '12 at 6:23
  • wiki.lodbrok.be/?n=Main.PuttySSHKeyExchange talks about key exchange. – Ozair Kafray Jun 22 '12 at 6:23

I'd suggest installing http://cygwin.com/ to the windows box since you seem more familiar with linux.

Without installing anything your options (from windows to linux) will be limited (I may be wrong, I'll check back after morning tea).

  • Jhayes, apologies, the transfer will be from windows to windows, not in same domain group though. – MHibbin Jun 19 '12 at 15:29
  • install cygwin on both sides, you'll be happy. Or use Putty. Or some sftp program (there are many). You are right that Windows has no built in ssh support. I don't know of a way to secure files in transfer that's native to windows. – jhayes Jun 19 '12 at 16:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.