Don't link sftp, sftp-server or scp with libcrypto

Darren Tucker dtucker at dtucker.net
Fri Jul 22 14:00:28 AEST 2022


On Wed, 13 Jul 2022 at 18:04, Demi Marie Obenour <demiobenour at gmail.com> wrote:
[...]
> That reminds me: is there any chance that OpenSSH’s SSH client
> code could be made into a library that other code could use as well?
> Having to spawn a child process is a bit annoying, and I would like
> to be able to use all of ssh(1)’s features.

There's a libssh.a built as part of the build process but making it
externally consumable with a stable API/ABI is not a goal.  There are
other projects which do have that goal (eg libssh and libssh2, both of
which seem to be actively maintained).

-- 
Darren Tucker (dtucker at dtucker.net)
GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860  37F4 9357 ECEF 11EA A6FA (new)
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.


More information about the openssh-unix-dev mailing list