Authenticate the public key provided tothe client. (wodSFTP / wodSFTP.NET / wodSFTPdll)
Sorry I am a newbie here. hence may be my question is slightly basic. Sorry for the same.
While doing an SFTP file transfer we have been advised by the security consultant that we need to authenticate if the server is the right one and has the right key available.
Could you please provide us source code where we can validate if the server has the right public key provided by us and if the key is valid( the server is authenticated) only then go ahead with the file transfer. ?
I am also not sure if the code below :
_wodSftp.Authentication = SFTP.Authentications.PublicKey
can be used to check if the public key is valid.
Thanks a lot for your advise.
- Authenticate the public key provided tothe client. - sidharthapshenoy, 2016-04-22, 19:53
- Authenticate the public key provided tothe client. - Jasmine, 2016-04-22, 20:21