Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

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
mnq02

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