SFTP from Solaris to Windows

Thread Tools Search this Thread
Operating Systems Solaris SFTP from Solaris to Windows
# 1  
Old 10-08-2009
SFTP from Solaris to Windows

Hello Guys,
I was looking for a method for passwordless SFTP from Solaris to Windows server.

I googled a lot, but could not find anything which would suit my purpose. All I found on google was the error messages that people got, but not how to do it.

Please help. I am in urgent need of it.
# 2  
Old 10-09-2009
If you want the sshd server on windows you will need cygwin and a lot of cafeined berberages. sorry, you are going against the M$ bad karma.
If what you want is to have a sftp client at windows, and sshd at Unix, you are asking for shared key autentication scheme.
It can be done with winscp + any sshd.
1- Use putty gen to generate pub - priv keys on the windows Give the private key to winscp.
2- copy the pub key to the $HOME/.ssh/authorized_keys on the server for the user you are trying to passwordless login.
3- Voilá!

Just check the shared key ssh autentication on the openssh site.
It is easy.
PD: there are many pitfalls, and chmod 777 is not your friend here, since sshd tries to make sure nobody is doing nasty things.

Last edited by tristezo2k; 10-09-2009 at 02:36 AM.. Reason: more details
# 3  
Old 10-09-2009
# 4  
Old 10-09-2009
Thank you for your feedback guys...

The following is what I got to achieve and this is what I did.

Task: sftp from a Solaris box to a Windows box with passwordless authentication.

What I have done.
On the Solaris box, I created a key using

ssh-keygen -t dsa -f newkey

Then I changed it to ssh2 version using

ssh-keygen -e -f newkey

This created a newkey and newkey.pub in my home directory.

I copied over the newkey.pub to ~/.ssh2/authorization file on my Windows box.
But, when I try to sftp, I get the following error message.

permission denied gssapi-keyex gssapi-with-mic publickey keyboard-interactive

So, where did I go wrong and what am I supposed to do?
# 5  
Old 10-10-2009
Hope you're not trying sftp using a root a/c Smilie
# 6  
Old 10-10-2009
Nope!!! I am not doing it as a root. I am using my username.

However, my username and password on my UNIX box is different from the username and password on Windows boxes.

Could that be the problem?
# 7  
Old 10-10-2009
What sftp service are you running on the windows box? What version of windows are you talking about??
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Needed SFTP script from windows to UNIX server and from UNIX to windows server(reverse SFTP)

hi guys, i need a script to sftp the file from windows to unix server ....(before that i have to check whether the file exists in the windows server or not and again i have to reverse sftp the files from unix to windows server..... regards, Vasa Saikumar. (13 Replies)
Discussion started by: hemanthsaikumar
13 Replies

2. Solaris

Transfer files from windows to solaris with winscp (file protocol:SFTP)

Hello, I have a couple of zip files to be copied from my local drive to a folder in solaris10 residing in a VM ware. i am using WINSCP, I tried to get hold of the solaris hostname or ip using ifconfig -a , hostname|nslookup etc. when i create a new session in WINSCP using that IP and port... (6 Replies)
Discussion started by: herbich1985
6 Replies

3. UNIX for Dummies Questions & Answers

SFTP - UNIX to Windows without keys

When I try to SFTP from our UNIX box to an outside vendor using passwords - no keys, I am immediately get disconnected. We have the FIREWALL open because I get prompted for the password. Here's the error: sftp userid@sftp.test.com Connecting to sftp.test.com... userid@sftp.test.com's... (5 Replies)
Discussion started by: blt123
5 Replies

4. Shell Programming and Scripting

sftp from solaris to windows 2008 hangs

Hi All,Our sftp connection from Solaris to windows 2008 hangs with following verbose output. From the output I can see that the connection itself ( key matching ) is successful , but I can't see sftp prompt.Sun_SSH_1.1.3, SSH protocols 1.5/2.0, OpenSSL 0x0090704f debug1: Reading configuration data... (1 Reply)
Discussion started by: rahulkav
1 Replies

5. Shell Programming and Scripting

SFTP from Unix to Windows

Hi all Not sure where I should be posting this so apologies if it's in the wrong section. I'm trying to set up a system where we can copy a file (get) from a Windows server to a Unix server using SFTP in an automated way. I've installed CoreFTP Server on the Windows server and can connect... (2 Replies)
Discussion started by: huskie69
2 Replies

6. AIX

sftp between Unix & windows

Guys, sftp between Unix & Windows I'd like to get good software or a way to how to configure sftp between ( windows to Unix ) and ( Unix to windows ) to be automatic login between the different operating systems without asking password .. Pls assist in this regard … (3 Replies)
Discussion started by: Mr.AIX
3 Replies

7. Shell Programming and Scripting

sftp connection from Unix to windows

Hi guyz, I have a Solaris 5.9 box from which i need to connect to a windows server using Coreftp (passwordless login). Coreftp is installed on windows and in solaris, it is already available.I generated a pair of key(public,private) in windows and specify pub key over there, edit the know_hosts... (7 Replies)
Discussion started by: Renjesh
7 Replies

8. UNIX for Dummies Questions & Answers

SFTP to windows

Hi, i have an SFTP connectivity from unix(solaris) to Windows system and SFTP connectivity is established between these two. Now we are trying to sftp files and we are able to do with small files. when it comes to large files(eg: 5696523kb,1631378db etc) its hanging and terminating after 9min... (2 Replies)
Discussion started by: mohanpadamata
2 Replies

9. Shell Programming and Scripting

sftp from unix to windows using keys

I'm working on setting up an automated script on a unix server to secure ftp (get) a file from a remote host which is a windows server with Vshell . I understand in order for the paswword-less authentication to work , I need to copy the authorization keys of our server(Solaris) to the remote host... (1 Reply)
Discussion started by: thrashers
1 Replies

10. UNIX for Dummies Questions & Answers

SFTP plugin for Windows Users?

I've had the hardest time getting my Windows users (technically proficient users who grew up with VAX.VMS systems) to abandon FTP and TELNET for SSH and SFTP/SCP. It's getting to the point where I'm getting seriously angry at them for being "stupid". With that little bit of complaint aside after... (1 Reply)
Discussion started by: deckard
1 Replies
Login or Register to Ask a Question