Solved

Push a file  from Linux server to a Windows 2008 Server

Posted on 2016-07-19
3
84 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

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

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

705 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