Solved

Push a file  from Linux server to a Windows 2008 Server

Posted on 2016-07-19
3
71 Views
Last Modified: 2016-07-23
Dear Gurus,
I have two servers. I need to push a .csv file from the Linux server (RHEL) to a Windows 2008 server on a daily basis. What needs to be done  to enable this between the servers.? The file transfer needs to be either SFTP or SCP .
Do I need to have a .ssh service running in Windows server. If yes ...How ?
Open to any suggestions to accomplish this .

Thanks Team.
0
Comment
Question by:flextron
3 Comments
 
LVL 28

Accepted Solution

by:
Michael Pfister earned 500 total points
ID: 41720252
If you require a push you have to install an SSH server to the Windows box, i.e. https://www.bitvise.com/ssh-server or mount a CIFS share on the Windows server (but you said it has to be SCP)

If pull is an option you could simply add and configure SSH on your Linux machine and use i.e. PSCP on the Windows machine to grab the files via a scheduled task.
1
 
LVL 29

Expert Comment

by:serialband
ID: 41721653
The smbclient command from the SAMBA suite can copy files to a Windows SMB share.  There's no need to install additional services on Windows that you might have to patch manually and independently from standard patching.

You can find example syntax here: http://www.tldp.org/HOWTO/SMB-HOWTO-8.html
1
 

Author Closing Comment

by:flextron
ID: 41725947
Getting a Samba Client is also a good option. But if a .SSH server can be installed like vShell...and it solves the purpose...then so be it.
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Scenario:  You do full backups to a internal hard drive in either product (SBS or Server 2008).  All goes well for a very long time.  One day, backups begin to fail with a message that the disk is full.  Your disk contains many, many more backups th…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

766 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question