Does anyone know, if we can do a Key and password authentication (two factor) in CoreFTP.
Something like this:
var connectionInfo = new ConnectionInfo(Host, Port, UserName,
new PasswordAuthenticationMethod("USERNAME", "PASSWORD"),
new PrivateKeyAuthenticationMethod("UserName", "PrivateKey"));
using (var sftp = new SftpClient(connectionInfo))
Two factor authentication
-
- Site Admin
- Posts: 984
- Joined: Mon Mar 24, 2003 4:37 am
Re: Two factor authentication
via the command line you can specify your regular connection info and then -keyfile <keyfile> pass
see help file topic "command line"
see help file topic "command line"