Solved

port the file from solaris to windows

Posted on 2003-11-17
4
327 Views
Last Modified: 2013-12-27
I have a Solaris server where a set of log files are created by the application, and on a windows 2000 machine I have a reporting tool running which uses the log files residing on the Solaris machine to generate reports through ftp. Since secure is an issue, we want to use secure ftp or ssh that wld port the file from solaris to windows, This has to be done daily, so I have a cron job running on the solaris that in-turn call a ssh shell script and do the job for me. pls let me know how this can be achieved.
0
Comment
Question by:pradeepbkumar
4 Comments
 
LVL 48

Accepted Solution

by:
Tintin earned 50 total points
ID: 9768833
Just install ssh client on your windows box, then you can pull the files from Windows via a scheduled job.

If you want to do it the other way round (Solaris->Windows), install a ssh server on the Windows box instead.
0
 
LVL 3

Expert Comment

by:UkWizard
ID: 9773262
Putty is a freely available client program to use, then you could schedule a batch file to run on the windows machine.
 

see the PSCP or SFTP utility here http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

Alternatively, run samba on the solaris box and share the logfile directory, to the windows machine.
That way you can access the logfiles 'on the fly' accessing it as a mapped drive,without having to download it at all.

Regards

UkWizard
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
create user in TSM 7 588
auto mounter on solaris 1 52
NTP Server in VMware 5 164
Access Required to Read Linux Security Settings and User Permissions 13 113
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

910 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

21 Experts available now in Live!

Get 1:1 Help Now