enabled sftp private key support (instead of password)

this is the code to make #9182 work
why? couldn't make ./autotest.sh sqlite ../apps/files_external/tests/sftp.php work without it