Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Kevin van Zonneveld's Blog:
Make SSH connections with PHP
Jul 27, 2007 @ 14:33:00

Kevin van Zonneveld has a new article posted to his blog that works through a method for making ssh connections from inside of PHP:

Not everyone knows about PHP's capabilities of making SSH connections and executing remote commands, but it can be very useful. I've been using it a lot in PHP CLI applications that I run from cronjobs, but initially it was a pain to get it to work. The PHP manual on Secure Shell2 Functions is not very practice or thorough for that matter, so I would like to share my knowledge in this how to, to make it a little less time consuming setting this up.

His platform of choice for this tutorial is Debian/Ubuntu, that you're already running PHP (and that it's PHP5) and that you know something about server administration. NExt up is the package installation - a simple matter with the help of aptitude and the compiling of the libssh2 libraries. All that's left is to make the module to include and add it to the php.ini.

Some sample code is included - one bit that shows off the execute method and the other, the shell method.

tagged: ssh connection tutorial libssh2 package linux php5 ssh connection tutorial libssh2 package linux php5

Link:

Kevin van Zonneveld's Blog:
Make SSH connections with PHP
Jul 27, 2007 @ 14:33:00

Kevin van Zonneveld has a new article posted to his blog that works through a method for making ssh connections from inside of PHP:

Not everyone knows about PHP's capabilities of making SSH connections and executing remote commands, but it can be very useful. I've been using it a lot in PHP CLI applications that I run from cronjobs, but initially it was a pain to get it to work. The PHP manual on Secure Shell2 Functions is not very practice or thorough for that matter, so I would like to share my knowledge in this how to, to make it a little less time consuming setting this up.

His platform of choice for this tutorial is Debian/Ubuntu, that you're already running PHP (and that it's PHP5) and that you know something about server administration. NExt up is the package installation - a simple matter with the help of aptitude and the compiling of the libssh2 libraries. All that's left is to make the module to include and add it to the php.ini.

Some sample code is included - one bit that shows off the execute method and the other, the shell method.

tagged: ssh connection tutorial libssh2 package linux php5 ssh connection tutorial libssh2 package linux php5

Link:

Sara Golemon's Blog:
libssh2 API documentation - Complete
Jun 13, 2006 @ 19:23:30

Continuing in the trend of completing documentation for projects, Sara Golemon has posted this information about completing the documentation for the libssh2 project.

After four months of (horribly boring and slow-paced) work, I've finally finished off the last of the libssh2 API documentation on the wiki. The material is still a bit rough and only helpful if you've already got the basics working (at which point you could have probably used the source documentation anyway). Next up I'll be working on a tutorial/example-usage section and maybe write up a few pages on basic secsh transport mechanics...

If you'd like to help contribute, check out the documentation wiki for the project and share your knowledge today!

tagged: libssh2 api documentation wiki complete libssh2 api documentation wiki complete

Link:

Sara Golemon's Blog:
libssh2 API documentation - Complete
Jun 13, 2006 @ 19:23:30

Continuing in the trend of completing documentation for projects, Sara Golemon has posted this information about completing the documentation for the libssh2 project.

After four months of (horribly boring and slow-paced) work, I've finally finished off the last of the libssh2 API documentation on the wiki. The material is still a bit rough and only helpful if you've already got the basics working (at which point you could have probably used the source documentation anyway). Next up I'll be working on a tutorial/example-usage section and maybe write up a few pages on basic secsh transport mechanics...

If you'd like to help contribute, check out the documentation wiki for the project and share your knowledge today!

tagged: libssh2 api documentation wiki complete libssh2 api documentation wiki complete

Link:


Trending Topics: