Changes to LibSSH between r5 and r6
'''Simple [C] API for [SSH]'''
I ported [http://0xbadc0de.be/wiki/libssh:libssh | LibSSH] [http://0xbadc0de.be/wiki/libssh:libssh0.11 | v0.11] to [Win32] with the intention of using it in [BackupPCd]. But I discovered that the server portion was incomplete, so I abandoned it.
I have sent my changes to the author and it seems that many people have tried to use them.
The patch:
* http://www.rkeene.org/projects/libssh-win32/v0.11/libssh-0.11-win32-1.patch
How to use it:
1. Download and extract code and patch
11. $ wget http://0xbadc0de.be/libssh/libssh-0.11.tgz
11. $ wget http://www.rkeene.org/projects/libssh-win32/v0.11/libssh-0.11-win32-1.patch
11. $ tar -zxf libssh-0.11.tgz
1. Apply the patch
11. $ cd libssh-0.11
11. $ patch -p1 < ../libssh-0.11-win32-1.patch
1. Compile
11. $ CC=i586-mingw32msvc-gcc ./configure --host=i586-pc-mingw32msvc
11. $ make
1. Strip (optional)
11. $ i586-mingw32msvc-strip libssh/libssh.dll
1. Install
11. $ cp libssh/libssh.dll ''/somewhere/lib''
11. $ cp -a include/libssh ''/somewhere/include''
1. Use
11. $ cp libssh/libssh.dll ''/somewhere/''
11. See "sample.c" for a sample LibSSH application
Only in r5
Only in r6 --> Modified slightly between r5 and r6