libssh

Attaching a static library to an iphone/ipad application

Hello, which is the best approach to include a static library with into an application for iPhone or iPad? I could choose to compile the library supplying right platform and building a library file with the ar utility and then add as a framework to the project including the source of the library .c/.h and compile them together with th...

Problems compiling an external library on linux...

So I am trying to compile the libssh2 library on linux, but when I try to compile the example it comes up with a lot of errors, and even though I include the headerfile it asks for, it still asks for it. Here are the error messages and the resulting messages: ~/ gcc -include /home/Roosevelt/libssh2-1.2.5/src/libssh2_config.h -o lolbais...

libssh2 port forward

In extension of this question http://stackoverflow.com/questions/1580750/example-code-of-libssh2-being-used-for-port-forwarding I was wondering if there's an "easier" way to connect to the locally binded addr:port. From the link: you bind a remote port and list it locally, you accept incoming data from the port and send it to another so...

libssh2 channel SSL BIO usage

Hi, I'm writing a small ftp project for my own amusement which is suppose to be able to do 4 things: connect directly to a ftp connect directly to a ftp with SSL (wrapper) connect through ssh tunnel to a ftp connect through ssh tunnel to a ftp with SSL. I'm writing my program in plain C (unix, not that it matters in this case) using...

libssh2_channel_close will be blocked until the remote command exit

I use libssh2 to login a remote computer, then call libssh2_channel_exec to execute a daemon program, the daemon program will then select a available tcpip port and print the selected prot to console(stdio). Then, the daemon will listen the port for the incomming connect. After these step, the client will read the selected tcp port from...

When compiling a static libssh2 library as i386 it always returns an x86_64 library

Hey, Been working on this for hours now so any insight would be greatly appreciated. I'm trying to compile libssh2 for the iPhone Simulator on OS X (I already have it compiled successfully for the device). I'm using the following environment variables and commands: export DEVROOT=/Developer/Platforms/iPhoneSimulator.platform/Develope...

Who can build a libssh2.a for iPhone

Who can build a libssh2.a for iPhone it's something about cross compilation I totally Don't know how to Set it rightly What I want to use is sftp client on iPhone anybody did this ? Can you share it? ...

Whats the difference between armv6 and i386?

I am trying to link libssh2.dylib (a 3rd party library compiled by Matthew Wilkinson using libssh2 library from http://www.libssh2.org) to my xcode project but when I try the following code: const char * libssh2_version(int required_version); printf("libssh2 version: %s", libssh2_version(0) ); Heres the error I get: ld: warning: in...

Dyld: Library not loaded

Hi again. I am trying to link the library libssh2.1.dylib to my iPhone Xcode project but I get this error when I try to link it. If I don't add this as a framework I get Symbols not found error. Now /Users/Matt/Documents/Development/iPhoneApps/Portscanner/lib/libssh2.1.dylib is not the correct pathway to that file. I downloaded the libra...