Search found 5 matches

by JimBalo
Wed 03 Feb 2010 02:17
Forum: dotConnect for MySQL
Topic: SSH Private key question
Replies: 3
Views: 1480

Hello,

I am interested in the same feature. Maybe it can be implemented without even changing the interface: Just add a "string:" prefix and interpret the text following the prefix as the actual SSH key.

An approximate ETA (if you can do this) would be fantastic!

Cheers!
Jim
by JimBalo
Wed 03 Feb 2010 02:12
Forum: dotConnect for MySQL
Topic: SSH key as resource
Replies: 8
Views: 2080

That works. Maybe something you could put in your documentation?

Also, and pardon my ignorance, I noticed that the key as a resource is visible in plain text in the compiled assembly. I noticed another post about adding a property for providing the key as a string instead. This would work much better for me. Having the private key in plain view kind of defeats the purpose of using SSH in the first place. But I'll add a post to that thread asking for ETA, etc.

Cheers!
Jim
by JimBalo
Tue 02 Feb 2010 15:39
Forum: dotConnect for MySQL
Topic: SSH key as resource
Replies: 8
Views: 2080

Please give status on this.

Thanks,
Jim
by JimBalo
Wed 27 Jan 2010 02:02
Forum: dotConnect for MySQL
Topic: SSH key as resource
Replies: 8
Views: 2080

Hello,

I tried the attached sample, and it works with that. It also works with any project I create from scratch. But for some reason it does not work with the existing app I tried with. So I stripped that app down to a very simple sample and emailed it to you so that you can check it out.

I use the exact same connection string and key that I use in the working sample, but for some reason it "Cannot connect to server" in the solution I emailed you. Very peculiar.

Please check out and let me know.

Cheers!
Jim
by JimBalo
Sat 23 Jan 2010 03:35
Forum: dotConnect for MySQL
Topic: SSH key as resource
Replies: 8
Views: 2080

SSH key as resource

Hello,

I am trying to specify the SSH PrivateKey as an "compiled resource" following http://www.devart.com/dotconnect/mysql/ ... tions.html, but I keep getting an exception that it cannot find the resource.

I have tried every which way. I have added the key file as an "embedded resource" (by the Build Action property) and I have also tried putting the key in resources.resx, but nothing seems to work. Of course I set PrivateKey = "resource://whatever.key" The solution is multi-project WinForm app. Does the resource go in the output project, or in the data access layer project??

Could you please post a simple C# sample project with an SSH key as a compiled resource with a short snippet that uses it?

Cheers!
Jim