DELPHI FMX for ANDROID SSH host key not verified

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
PDT be-right
Posts: 4
Joined: Fri 08 Jan 2016 11:28

DELPHI FMX for ANDROID SSH host key not verified

Post by PDT be-right » Wed 15 Mar 2017 18:00

Hello,

Just installed the SecureBridge last PRO version for XE8 .
My goal, install SSH and SFTP in an FMX application to connect a server for file download and upload, so basic.
I'm using SB since 2014 on Windows without any problem but here I get the ' Host key not verified' error.

My question is where is the KEY file path used or you're looking for when the connection is activated ?

Have tried to put the key file created under Windows in the p2 folder of the mobile device ( see below sample) but without result.
Have made attention of the naming case and all is in UPPERCASE in the soft and on the mobile.

Is there a way to create directly the key file from an application running on Android ?

Thanks in advance for your help

begin
p1 := Tpath.GetSharedDocumentsPath+'/tmp/MODELE.ZIP';
p2 := Tpath.GetSharedDocumentsPath+'/tmp/';
ScFileStorage1.Path := p2;
try
ScSSHClient1.Connect;
except
showmessage('Connexion SSH NOT OK ');
exit;
end;

PDT be-right
Posts: 4
Joined: Fri 08 Jan 2016 11:28

Re: DELPHI FMX for ANDROID SSH host key not verified

Post by PDT be-right » Wed 15 Mar 2017 20:05

Hello,

I really don't know what I've changed but it works !

Regards

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: DELPHI FMX for ANDROID SSH host key not verified

Post by ViktorV » Thu 16 Mar 2017 09:30

We are glad to see you have found a solution.
Feel free to contact us if you have any further questions about our products.

Post Reply