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.
Read more: