Sample code for 30+ languages & platforms
PHP

SSH Key Examples for Chilkat2 PHP