|
Hi, How do I check fingerprint after connection? Thanks. |
|
Hi, I guess you are asking for fingerprint checking in the sftp connection. There is a code scatch:
A brief description of fingerprint checking is given in the Rebex SFTP Tutorial, Basics. Hi, You showed a code that is calling LoadApprovedFingerprints() method. Can you explain in detail? I am coding in vb.net. At the bottom you wrote: SaveApprovedFingerprints(approvedFingerprints); Why do we need to do this. Let me know. Thanks
(09 Sep '10, 15:42)
ubuser
Hi, the LoadApprovedFingerprints and SaveApprovedFingerprints are method that need to be implemented by you. It should store and load pairs of hostname-fingerprint which you trust. It's implementation is application specific. Different code would be used when storing it to the database table, to xml file or to registry. You can even provide a hard coded set of trusted fingerprints and encode it to your application.
(10 Sep '10, 09:29)
Martin Vobr ♦♦
|