Compiling for Windows

James Nierodzik jnierodzik at
Sat Apr 3 09:11:01 EST 2010

Hello OpenSSH devs,

I'm hoping this is the proper forum for this question, but if not maybe some kind soul could point me in the right direction.

I've been tasked with maintaing a Windows application that currently, or will need to, make use of the following tools:
	• ssh-keygen
	• ssh
	• sshd
	• sftp

I know there are a few packages out there already CopSSH being one of them (which does work for my purposes albeit clunkily) but
they all have various pitfalls. (footprint too large, no silent install, having to authorize users, no sftp support, etc…) so I am looking to compile my own.

Ideally I would end up with the cygwin dlls required and my executable OpenSSH files that I could then dump in a directory on the
Windows client, import the required registry keys from within my app and be off to the races.  No 'real' installation required and a minimal

So with all that said can anyone point me in the right direction of how to go about doing this?  I've done a bit of research and mentally have
been unable to put all the pieces in place.

I appreciate any help and hopefully I won't get told to RTFM (unless you also want to point me to the appropriate section)  =)



More information about the openssh-unix-dev mailing list