Question about porting SSH

Damien Miller djm at mindrot.org
Fri Jul 11 08:05:22 EST 2003


Joey Doughly wrote:
> Hello everybody,
> I am working on a project trying to port openSSH and have noticed that some 
> of the components rely on SSL which is a pretty big program as well.  Is 
> there any way to just rip out certain modules from SSL to get openSSH to 
> work with out porting all of the SSL components, and if so what are the only 
> SSL modules I need to get SSH to work properly.  Any help will be greatly 
> appreciated.

OpenSSH depends on the libcrypto component of OpenSSL only and it
certainly doesn't use all of the functionality it provides.

You could start by not installing libssl and turning off unused ciphers
in libcrypto.

Alternately, you could statically link the OpenSSH binaries. This would
make them larger, but they would only include the object files from
libcrypto that were used.

-d






More information about the openssh-unix-dev mailing list