Question:
The server I am connecting to requires private key authentication as well as a password (and PPK file is password protected as well). I know I can use ' $sftp->AuthenticatePk("myLogin",$key) ' to authenticate using a private key, or I can use ' $sftp->AuthenticatePw($username, $password) ' to connect using a user ID and password. How do I combine the two?
There is an AuthenticatePwPk method.