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
# 8  
Old 11-21-2006
Well, I generated the public and private keys on the windows server and saved them both in my mydocuments folder. Then copied the public key over to directory in $HOME/.ssh/authorized_keys file on my solaris box. Is there anything else im supposed to do?

This is command im using am I supposed to pass something in this to have it read the key?
pscp.exe "C:\Program Files\Backup\Notification_1.bku" tom@nitro:/tmp
# 9  
Old 11-21-2006
ssh is very strict with file permissions, perhaps there's the problem
try to remove all rights for group and others from .ssh and the authorized_keys file

the key in the authoroized_keys file has to be entered in just one line, if there are end of line strings in the file it will not work
when you simply copy & paste the key you have to connect the lines (shift + j in vi)
# 10  
Old 11-21-2006
nothing.... =/ this is making me insane this shouldn't be that hard haha I have to be missing something
# 11  
Old 11-22-2006
Info just incase someone is trying to do what I did and can't figure it out.

I knew it was something stupid.

I created my key on a windows box using puttygen.exe well it doesn't add ssh-rsa to the front of the file or tom@whatever.test.com to the end.

Example:
ssh-rsa AAB3NzaC1yc2EAAAABJQAAA== tom@whatever.test.com

Also, I was saying to myself how the heck does the windows machine ack with the solaris box to authorize the keys. Well, I had to run pageant.exe on my windows box and add the private key to that.

YAY, it works!

Thanks for all the tips and stuff guys, it really helped me figure out what the heck was going on!
 
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