Hello,
I attach a small film on the problem. Its a bit strange that i can open the client in design but not in runtime. Also the example you have as a demo have no problems.
Steps to reproduce (same as in movie)
Make a new project.
Drop a ScFileStorage
Put in any key
Test in runtime with this: If ScFileStorage1.Keys.FindKey('key1') = Nil Then ShowMessage('Empty');
As I mentioned, the SSHclient will also not find the key in runtime.
https://www.dropbox.com/s/d2fgo4m5oh01g ... 1.mp4?dl=0
ScFileStorage cant find key (and the ssh client cant either)
Re: ScFileStorage cant find key (and the ssh client cant either)
If you haven't specified a directory in the TScFileStorage.Path property, the current directory will be used, which may be different in design-time and runtime. The key saved in design-time may not be found in run-time. To solve the issue, you may want to save keys only in runtime or set the directory in the TScFileStorage.Path property to store keys.
Re: ScFileStorage cant find key (and the ssh client cant either)
Thanx Stellar,
That solved the problem.
That solved the problem.
Re: ScFileStorage cant find key (and the ssh client cant either)
Glad to see that the issue was resolved.
Feel free to contact us if you have any further questions about our products.
Feel free to contact us if you have any further questions about our products.