Subject: SFTP Multiple Simultaneous Authentication Methods Possible?
Date: 2018-10-31 16:49:01
From: enjc
Source: sftp-multiple-simultaneous-authentication-methods-possible
----------------------------------------------------------------------

We currently use Component Pro SFTP authentication using simple username/password

Some of our customers are also requesting SFTP Public Key Authentication.  

I see in your code sample there is the following:

// It's possible to use both username/password and private key to authenticate. 
// client.Authenticate("userName", "password", "c:\\privateKey.key", "pkeypassword"); 

For existing users with only username/password, will they authenticate without privatekey, or will their authentication fail?

----------------------------------------------------------------------

Note: This question has been asked on the Q&A forum of Thang Dang's fraudulent ComponentPro brand
If you purchased anything from ComponentPro, you have been scammed. Contact the payment processor
who sold you the license and ask for your money back.

Back to ComponentPro Q&A Forum Index