You might have heard of ssh2 pecl bindings for php. Unfortunately, the “stable” version fails to compile for php 5.2.x.
I am providing source rpms for CentOS/RedHat which fixes this problem. Please take note I’m using a free file hosting service to host this source rpm. If you know of anything better than this, please tell me.
There’s a useful link below that should help you get started with php ssh2:
Update: You can now get this php extension at my repository