SSH Tunnel
SSH Tunnel
Hi, I can't find any SSH properties in UniDAC. Our MySQL connection is using SSH tunnel. So how can I config "UniConnection"?
Thanks!
Thanks!
Re: SSH Tunnel
Hi, I checked that can using your product "SecureBridge" for build up SSH connection. Any example can download for how to build MySQL connection by "SecureBridge".
Thanks!
Thanks!
Re: SSH Tunnel
Hello,
If you are working via SSH, you should use SecureBridge in a bundle with UniDAC
You can see an example of UniDAC and SecureBridge co-working in the demo projects: ..\Devart\UniDAC for ..\Demos\TechnologySpecific\SecureBridge\
If you are working via SSH, you should use SecureBridge in a bundle with UniDAC
You can see an example of UniDAC and SecureBridge co-working in the demo projects: ..\Devart\UniDAC for ..\Demos\TechnologySpecific\SecureBridge\
Re: SSH Tunnel
Hi AlexP, I found the path. But I got the error when open the demo file. It prompts "Error creating form: ancestor for 'TDemoFrame' not found". How can I solve it?
Thanks!
Thanks!
Re: SSH Tunnel
Hi AlexP, I found out how to open it. I will study the demo.
Thanks!
Thanks!
Re: SSH Tunnel
I can connected MySQL through SSH before. But suddenly, I got the error message "Socket error on binding. WSAGetLastError return 10013($271D)". Why? How can I solve this problem. I'm using UNIDAC 5.2.5
Thanks!
Thanks!
Re: SSH Tunnel
Sorry, I found what is the problem. The problem is that I installed local MySQL in my laptop. When I connect to 127.0.0.1, it will connect the local MySQL directly. Please ignore my previous issue.
But I have the other question. How to ignore saving the ?????.key file? Can it keeping in memory only?
But I have the other question. How to ignore saving the ?????.key file? Can it keeping in memory only?
Re: SSH Tunnel
You can ignore saving the SSH server key. For this, you should process the TScSSHClient.OnServerKeyValidate event and set the Accept parameter to True.
But note: it is a very insecure way and it contradicts with the principles of secure connections.
But note: it is a very insecure way and it contradicts with the principles of secure connections.
Re: SSH Tunnel
Hi, I will encrpt the connection string in the INI file. If I follow your instruction, it will not create the ???.key file. Right?
Re: SSH Tunnel
The server key file will not be saved automatically in any case. You can do it only manually in the TScSSHClient.OnServerKeyValidate event handler if you need.