Ultimate Web Tips

your Wordpress, jQuery, PHP, MySQL, Linux and CSS guide to a successful website
Read more:
Posts Tagged ‘ssh’

February 14th, 2012

Connect with a public key to SSH with PHP

No Comments, PHP, by Joakim Ling.

Not a lot of people knows that PHP supports SSH. I use it to execute remote commands, auto configure of web server configurations etc. If you need to SSH to a server that only accepts a public key, the connection procedures get a bit more complicated.