enabled sftp private key support (instead of password)

this is the code to make #9182 work
i used PHP 5.5.9-1ubuntu4 (cli) (built: Apr  9 2014 17:11:57)