EldoS | Feel safer!

Software components for data protection, secure storage and transfer

SFTP private key in VB.Net

Also by EldoS: CallbackRegistry
A component to monitor and control Windows registry access and create virtual registry keys.
Posted: 03/14/2007 15:38:41
by Tobias Elder (Basic support level)
Joined: 03/14/2007
Posts: 2

I am creating an application to silently upload or download via SFTP.

everything works when creating the connection with a username and password, but i cannot find any examples to create the connection using a private key.

I am programing in VB.Net, and using Eldos version 4.4
Posted: 03/14/2007 15:45:06
by Eugene Mayevski (EldoS Corp.)

1) You can't use Eldos as it is a company
2) Please take SecureBlackbox 5. The samples there use the private key. At least, C# SimpleSftpDemo does.

Sincerely yours
Eugene Mayevski
Posted: 03/14/2007 16:27:36
by Tobias Elder (Basic support level)
Joined: 03/14/2007
Posts: 2

i actually had installed version 5 to get to the sample projects, which i copied over to the development machine to use with version 4.4, which we are licensed for.

Dim key As New TElSSHKey

is giving me errors, and while searching through the help documentation, it appears this is the major piece I'm missing.

Do you know how to access this function? What am I forgetting to import, or where is this actually located?

I've tried
Dim key As New SSHBBoxCli.ElSSHMemoryKeyStorageX

and will be playing with that for a little bit...
Posted: 03/15/2007 00:49:19
by Eugene Mayevski (EldoS Corp.)

What edition are you installing?
You have VB.NET in subject and you reference ElSSHMemoryKeyStorageX control, which is present only in ActiveX edition.

Sincerely yours
Eugene Mayevski



Topic viewed 2577 times

Number of guests: 1, registered members: 0, in total hidden: 0


Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!