Getting a file from win3k server on to my solaris 9 box


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Getting a file from win3k server on to my solaris 9 box
# 1  
Old 11-20-2006
Getting a file from win3k server on to my solaris 9 box

Hey guys,

Please don't lynch me for asking this question but I'm trying to get a file from a windows 2k3 server and store it on one of my Solaris 9 machines (automated in cron or something weekly) so I can then store it to tape. I'm just trying to think of the best way to get the file and I'm not sure which option to take. Should I write a script telnet into the server from Solaris and get the file or maybe have win2k3 telnet into the Solaris server etc....

Anyone have a way of doing it that you could share while keeping sercurity in mind? I really don't want to go installing an ftp or telnet server on my win2k3 box if I don't have to.
# 2  
Old 11-20-2006
Use pscp which comes with PuTTY. Schedule a job (via whatever Windows mechanism you choose) to pscp (Putty Secure CoPy) the file over to the Solaris box, using keys.

http://www.chiark.greenend.org.uk/~sgtatham/putty/

Cheers
ZB
# 3  
Old 11-20-2006
Nice! I got it to work... Now I just have to figure out how to send password without leaving it in a plain txt file. I'll have to google it a bit and see what I find. Thanks a ton!
# 4  
Old 11-21-2006
I can't seem to get this password thing to work I created a public and private key on my windows 2003 machine using puttys rsa keygen then took the public key data and pasted it in my known_hosts file on my solaris box and its still asking for my password.

I am trying to pscp from win2k3 server to solaris.

Anyone have any ideas i've never worked with pub/priv key encryption before.

Is it because im one user on win2k3 say bob and im using username tom on solaris? does it have to be same user name on both for this to work?

Last edited by kingdbag; 11-21-2006 at 02:07 PM..
# 5  
Old 11-21-2006
you have to put the public key in $HOME/.ssh/authorized_keys on the solaris box

(thats the way on AIX, but I think it should be the same on solaris)
# 6  
Old 11-21-2006
yea, i've already tried that still not working....UGH!
# 7  
Old 11-21-2006
Perhaps the problem is on the windows end? Do you know for sure that the windows program is finding the key, has access to the key, etc?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Open Source

Shell script file movement to a Mail Box server using ftp commands

Hi All, I have a current Process that runs "windows script " for the file movement that needs to changed to a "DataStage Process (Using shell script )" Source :Text file is getting generated as part of Datastage Jobs processes and resides in a shared drive (Unix server) Target :ftp... (2 Replies)
Discussion started by: developer.dwh9
2 Replies

2. Windows & DOS: Issues & Discussions

SQL Server import csv or txt on a Solaris box

New to using sql server and unix, but say I have here /home/foo/file.txt Can I use some kind of process to push that .txt into a sql server? Or Is there a sql server utility that can be configured to find a unix box and go into /home/foo/file.txt and slurp it up:) Or is there any PC and... (5 Replies)
Discussion started by: sas
5 Replies

3. Shell Programming and Scripting

How to send a file in email from Solaris box to MS outlook 2010

Hi I have input file in solaris machine and my question is..,how to send email that input file to Microsoft outlook 2010 in excel /xls format. (5 Replies)
Discussion started by: buzzme
5 Replies

4. Solaris

Solaris box to AD,Exchange server 2003

Forgive me if this question has been asked before, but I am trying to add a solaris box to server 2003, it is an active directory and exchange server. I have succeeded in adding it to network in general -- meaning I can access the server and xp files over the network. But what I want to do is... (3 Replies)
Discussion started by: sofakingjewish
3 Replies

5. Solaris

Can we use a solaris box as a web server?

Can we use a solaris box as a web server? If yes then can any one can explain each and every steps to configure a Solaris web server? (4 Replies)
Discussion started by: Sesha
4 Replies

6. Solaris

file showing 0 byte after ftp from windows to solaris 10 box

Dear All I am trying to put a file from window system to solaris 10 box through ftp, but after connected to solaris 10 through window via ftp, I put a file( its a solaris package) through put command to solaris box. When I checked it on solaris box I get a file having 0 bytes. even I try to put... (3 Replies)
Discussion started by: amity
3 Replies

7. UNIX for Dummies Questions & Answers

SFTP file from unix box to a NT server

Hi, I've searched but I haven't found a clear answer on this. Is it possible to sftp a file from a unix box to an NT server (windows)? If it is possible how do I go about doing it? Any help would be much appreciated! Thank You! (5 Replies)
Discussion started by: queenie680
5 Replies

8. UNIX for Dummies Questions & Answers

difference between AIX box and Sun Solaris box

Hi, I need a clarification. Is there any difference between AIX box and Sun Solaris box? The bzip command with -c option works in AIX box and the same does not work in Sun Solaris box. Can anyone please explain if there is an implementation difference in both these boxes for the shell... (1 Reply)
Discussion started by: nisha4680
1 Replies

9. UNIX for Advanced & Expert Users

VPN client (windows Box),and Server (Unix Box)

If I want to access unix box via VPN tunnel,from windows box. What sould I configure on the windows client PC, and what should I enable on the Unix Server box ? I am using Solaris V10 intel platform, and I am using windows XP, and 2003 for client (0 Replies)
Discussion started by: zillah
0 Replies

10. UNIX for Advanced & Expert Users

i'm pulling my hair out getting a solaris 8 box to work as a caching name server

i've gone through the sun docs as well as a Solaris Network Admin book. while the book is fair, it lacks detail and i'm sure there are things it's missing on getting a caching only name server working. as for the sun docs... what it has is really miserable. i can't make anything out of it. ... (4 Replies)
Discussion started by: xyyz
4 Replies
Login or Register to Ask a Question