SshPrivateKeyPath and SshHostKeyFingerprint ?

Advertisement

mnq02
Joined:
Posts:
1

SshPrivateKeyPath and SshHostKeyFingerprint ?

I am about to try to implement WinSCP into my vb.net application to upload files to SFTP.

Looking through the sample code, I am not understanding what the Private Key is and what that file should entail and where I should get it from?

I read that I need to get the Host Key Fingerprint from the adminstrator of the server I'm going to be uploading file to...Do I just ask them "What is your host key?" Is is as simple as that?

Any help would be appreciated.

Thanks

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,253
Location:
Prague, Czechia

Re: SshPrivateKeyPath and SshHostKeyFingerprint ?

mnq02 wrote:

Looking through the sample code, I am not understanding what the Private Key is and what that file should entail and where I should get it from?
If you do not know what private key is, than I suppose you are going to authenticate using password and you actually do not need the private key.
Anyway, see:
https://winscp.net/eng/docs/public_key

I read that I need to get the Host Key Fingerprint from the adminstrator of the server I'm going to be uploading file to...Do I just ask them "What is your host key?" Is is as simple as that?
Yes. See also https://winscp.net/eng/docs/faq_hostkey
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum