How do I push a file from a Linux box to a Windows Box?

7,525

Solution 1

I'm not to much skilled, but, instead of setting up a ssh server on windows, i suggest you to share a windows folder and then using samba, just copy the file to this shared folder. To a LAN a think this is a easier solution.

Solution 2

Check out Cygwin. It contains an implementation of an SSH Server for Windows (OpenSSH sshd server). It works with Windows 200, XP and 2003 (with a few caveats). Here's a good installation guide. Once it is installed and working, it works like a champ and gives you some level of standardization across servers.

Solution 3

I don't think any version of windows has built in SSH server. You can take a look at FileZilla for easily setting up a SFTP server.

Solution 4

You could also pull the file with PSCP.

Solution 5

  1. Start samba on the Linux box. This is if the 2 are in the same lan.
  2. Start a ftp server on the Linux box.
  3. Start sshd on server and copy with winscp from the linux box.
Share:
7,525

Related videos on Youtube

StephenNYC
Author by

StephenNYC

Updated on September 17, 2022

Comments

  • StephenNYC
    StephenNYC over 1 year

    How do I push a file from a Linux box to a Windows Box? Which versions of Windows have a built-in SSH server that a Linux box can "scp" (secure copy/ssh) to.

    I'm looking at freesshd right now. Any more ideas?

  • kdgregory
    kdgregory over 15 years
    +1 - assuming you're on a local network, this is a reasonable approach; not so much if you're looking for a remote transfer
  • Brian Clapper
    Brian Clapper over 15 years
    +1. If you use smbfs, you can mount the remote Windows share as a file system on Linux; then, you can just copy files back and forth.
  • Admin
    Admin almost 12 years
    FileZilla SFTP is client-only. No SFTP server in FileZilla.