Displaying 1 result from an estimated 1 matches for "ilnking".
Did you mean:
blinking
2003 Feb 19
4
newbie wants to compile SCP into his own application
Hi all,
I have seen in the OpenSSH source that the scp executable is built by
compiling scp.c and linking with libopenbsd-compat.a and libssh.a. (Correct
me here if I'm wrong)
My question is, can I make this a module in my own application by using the
scp.c source and ilnking the libraries mentioned above ? The reason is, I
want to perform an SCP from my application, but I don't want to execute the
external command line utility "scp". I want to be able to get a return
value to indicate success or failure and handle this in my app.
Thanks,
Andrew Plumb.