?
Solved

Push a file  from Linux server to a Windows 2008 Server

Posted on 2016-07-19
3
Medium Priority
?
89 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 29

Accepted Solution

by:
Michael Pfister earned 2000 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 30

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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
This article explains how to install and use the NTBackup utility that comes with Windows Server.
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 locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
Suggested Courses

752 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