PECL's ssh2 extension is poorly maintained, hard to install and unreliable even when it has been successfully installed. Testament to just how difficult to install are all the comments located on the third website that comes up when you do a search for "php ssh" on Google (without the double quotes):
Testament to it's unreliability even after it has been successfully installed is this:
In light of this, I think TRIM ought to use phpseclib (http://phpseclib.sourceforge.net/). It would save everyone a lot of heartache, from the end users, who wouldn't need to ask for support, to the developers, who wouldn't have to spend as much time providing support for the deficiencies in PECL's ssh2 extension.