Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

An Example XCode-Project with compiled libssh2 for iOS Devices (iPhone, iPod Touch, iPad). You can connect to an server with SSH and execute commands.

branch: master
README
This is a tutorial for using self-compiled builds of the libssh2-library for iOS. You can build apps with XCode and the official SDK from Apple with this. I also made a small example-app for using the libraries with XCode and the iPhone/iPhone-Simulator. You can also download the precompiled libssh2-library (1.2.7).

@see: http://www.x2on.de/2011/02/02/libssh2-for-ios-iphone-and-ipad-example-app-with-ssh-connection/

The example uses libssh2 to make an ssh connection to an ssh server. Then you can execute commands on the server and get the output in your app.

You can build the libssh2 library with openssl or with libgcrypt!

libssh2 with openssl:
./build-all.sh openssl

libssh2 with libgcrypt:
./build-all.sh libgcrypt

UPDATE 2011-02-08: I habe updated OpemSSL to 1.0.0d
Something went wrong with that request. Please try again.