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?
asked Nov 24 '12 at 16:57
There is an AuthenticatePwPk method.
answered Nov 25 '12 at 09:11