if you're trying to connect to an ssh server in an environment where the ssh2 extension cannot be installed this pure-php implementation may be helpful:
http://phpseclib.sourceforge.net/documentation/net.htmlBindungen zur » libssh2 Bibliothek, die, unter Verwendung eines sicheren kryptografischen Transports, Zugriff auf Ressourcen (Shell, Remote-Ausführung, Tunneling, Dateiübertragung) auf einem entfernten Gerät bereitstellt.
if you're trying to connect to an ssh server in an environment where the ssh2 extension cannot be installed this pure-php implementation may be helpful:
http://phpseclib.sourceforge.net/documentation/net.html