kvz.io

Router

  • Published on
    !ssh phpNot 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 practical 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.