Sponsored Content
Full Discussion: SFTP from Solaris to Windows
Operating Systems Solaris SFTP from Solaris to Windows Post 302360438 by tristezo2k on Friday 9th of October 2009 01:35:03 AM
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
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
sftp-server(1M) 					  System Administration Commands					   sftp-server(1M)

NAME
sftp-server - SFTP server subsystem SYNOPSIS
/usr/lib/ssh/sftp-server DESCRIPTION
sftp-server implements the server side of the SSH File Transfer Protocol as defined in the IETF draft-ietf-secsh-filexfer. sftp-server is a subsystem for sshd(1M) and must not be run directly. There are no options or config settings. To enable the sftp-server subsystem for sshd add the following to /etc/ssh/sshd_config: Subsystem sftp /usr/lib/ssh/sftp-server See sshd_config(4) for a description of the format and contents of that file. There is no relationship between the protocol used by sftp-server and the FTP protocol (RFC 959) provided by in.ftpd. EXIT STATUS
The following exit values are returned: 0 Successful completion. >0 An error occurred. FILES
/usr/lib/sftp-server ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWsshdu | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
sftp(1), ssh(1), ssh-add(1), ssh-keygen(1), sshd(1M), sshd_config(4), attributes(5) To view license terms, attribution, and copyright for OpenSSH, the default path is /var/sadm/pkg/SUNWsshdr/install/copyright. If the Solaris operating environment has been installed anywhere other than the default, modify the given path to access the file at the installed location. AUTHOR
Markus Friedl SunOS 5.10 30 Jul 2003 sftp-server(1M)
All times are GMT -4. The time now is 08:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy