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.htmlSe enlaza a la biblioteca » libssh2 que provee acceso a recursos (shell, ejecución remota, tunneling, transferencia de archivos) sobre una máquina remota utilizando una vía de transporte criptográfica segura.
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