DELPHI FMX for ANDROID SSH host key not verified
Posted: 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;
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;