Folks, Excuse my ignorance on the subject but I'm new to OpenSSH and have been tasked to write a 'sftp' Client for a home-grown application that runs on a Windows platform. The answers to my questions is probably on the List Archives but I'm not able to find it even after a few search attempts. So here goes... 1. Is it possible to even write a custom 'sftp' client for our application on the MS Windows platform ? (my system uses Windows XP on a standard Intel based processor) on which I'll need to be able to build the OpenSSH libraries (libssh.a, libopenbsd-compat.a and any others) at a minimum. 2. Does Windows support OpenSSH or vice versa ? 3. If OpenSSH cannot be used are they any commercial versions of SSH that I might be able to use ? Thanks, Saju Paul ps: On a system running Fedora (version of Linux); installed the portable OpenSSH version 3.8.1 on it; Ran local loopback tests with ssh & sftp. Both work Okay.
On Fri, May 28, 2004 at 09:05:22AM -0400, Saju Paul wrote:> 3. If OpenSSH cannot be used are they any commercial versions of > SSH that I might be able to use ?I suggest you look at the FileZilla and PuTTY projects, both of which are native Win32 projects, unlike OpenSSH. //Peter
Saju Paul [Fri, May 28, 2004 at 09:05:22AM -0400]:> 1. Is it possible to even write a custom 'sftp' client for our application > on the MS Windows platform ?Of course. If you don't have to use C, there's a nice implementation called 'Conch' in Python - http://twistedmatrix.com/ - works really nice, and as all Python stuff, it's extremely portable. If I'd have to write some SSH client for win32 quick, I start there. I'm sure someone else will answer your questions having C in mind. HTH, -- m -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20040528/adf4750b/attachment.bin
Take a look at PuTTY (I'm sure you're getting buried with this answer), a freely available Telnet/SSH/SFTP client for Windows (http://www.chiark.greenend.org.uk/~sgtatham/putty/). Bill Knox Lead Operating Systems Programmer/Analyst The MITRE Corporation On Fri, 28 May 2004, Saju Paul wrote:> Date: Fri, 28 May 2004 09:05:22 -0400 > From: Saju Paul <saju.paul at emergis-systems.com> > To: openssh-unix-dev at mindrot.org > Subject: sftp Client for Windows XP > > Folks, > Excuse my ignorance on the subject but I'm new to OpenSSH and have been > tasked to write a 'sftp' Client for a home-grown application that runs on a > Windows platform. > > The answers to my questions is probably on the List Archives but I'm not > able to find it even after a few search attempts. > > So here goes... > > 1. Is it possible to even write a custom 'sftp' client for our application > on the MS Windows platform ? (my system uses Windows XP on a standard Intel > based processor) on which I'll need to be able to build the OpenSSH > libraries (libssh.a, libopenbsd-compat.a and any others) at a minimum. > > 2. Does Windows support OpenSSH or vice versa ? > > 3. If OpenSSH cannot be used are they any commercial versions of SSH that I > might be able to use ? > > Thanks, > Saju Paul > > ps: On a system running Fedora (version of Linux); installed the portable > OpenSSH version 3.8.1 > on it; Ran local loopback tests with ssh & sftp. Both work Okay. > > _______________________________________________ > openssh-unix-dev mailing list > openssh-unix-dev at mindrot.org > http://www.mindrot.org/mailman/listinfo/openssh-unix-dev >
Saju Paul wrote:> 1. Is it possible to even write a custom 'sftp' client for our application > on the MS Windows platform ? (my system uses Windows XP on a standard Intel > based processor) on which I'll need to be able to build the OpenSSH > libraries (libssh.a, libopenbsd-compat.a and any others) at a minimum.It's possible to make sftp into a native Windows program but it's likely to be an awful lot of work. sftp needs ssh, and ssh makes a lot of assumptions that's running on a Unix-like platform and libssh.a is not intended for use by applications.> 2. Does Windows support OpenSSH or vice versa ?Yes, via Cygwin (out-of-the-box) or Services For Unix (third-party patches).> 3. If OpenSSH cannot be used are they any commercial versions of SSH that I > might be able to use ?Try PuTTY or Peter Gutmann's cryptlib. -- Darren Tucker (dtucker at zip.com.au) GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69 Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.