Portable PHP SSH/SFTP Library

JTS

We are often times asked to work on clients servers that range greatly in hardware and software platforms. It seems that no two VPS/Cloud servers are configured the same, nor do they have the same user permissions to install/compile modules into PHP/Lamp.

This can be a pain if we need to install a third party module like PHP SSH2 to securely transfer some files between servers for backups.

Along came PHPSecLib!

A beautiful portable SSH/SFTP class that we can use without any compilation or installation of PEAR libraries. The website is extremely well documented and since it is a pure PHP implementation, you can check out the code to get a better sense of what is going on “under the hood”. While we haven’t full tested or used every function/class available in the library, we have used the basic SFTP class frequently and with great success.

For any developer/integrator looking for an easy to use SFTP library, this definetly needs to be in your toolbox.

About the author

During his twenty-five professional years, Mr. Silva has had experience in nearly every facet of the Information Technology industry. Ranging from advanced data mining / data visualization systems to running multi-state small business IT infrastructures, Mr. Silva has always provided precise and cost-effective strategies to meet any client’s needs. With his tremendous work ethic and “Can-Do” attitude, Mr. Silva has always met every challenge head-on and with intelligent determination. Mr. Silva is also a certified NAUI Advanced/Nitrox Diver, hoping to get a few more wrecks under his belt in the Atlantic.