ssh2light

This PHP class provides a reliable way to execute remote commands over the Secure Shell 2 protocol. This code's main purpose is to abstract away some of the fairly complex error handling required to work with the PHP SSH extension effectively. Also provides an object oriented interface to the library, instead of a straight procedural interface. This class also wraps common SFTP/SCP commands making transferring files over SSH easy.

Works with both PHP 4 and 5.

http://code.google.com/p/ssh2light/