Solved

Push a file  from Linux server to a Windows 2008 Server

Posted on 2016-07-19
3
53 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 27

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

Free book by J.Peter Bruzzese, Microsoft MVP

Are you using Office 365? Trying to set up email signatures but you’re struggling with transport rules and connectors? Let renowned Microsoft MVP J.Peter Bruzzese show you how in this exclusive e-book on Office 365 email signatures. Better yet, it’s free!

Join & Write a Comment

OfficeMate Freezes on login or does not load after login credentials are input.
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
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:…

707 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now