Archived Forum Post

Index of archived forum posts

Question:

Problem with component TChilkatSshTunnel

Feb 19 '16 at 16:41

Hi. I need a program with SAN tunnel. I made in Delphi code:

procedure TForm1.BitBtn1Click(Sender: TObject);
begin
chilkatGlob := TChilkatGlobal.Create(Self);
success := chilkatGlob.UnlockBundle('Anything for 30-day trial.');
if (success <> 1) then
  begin
    Memo1.Lines.Add(chilkatGlob.LastErrorText);
    Exit;
  end;
tunnel := TChilkatSshTunnel.Create(Self);
sshHostname := '87.222.222.222';
sshPort := 22;

success := tunnel.Connect(sshHostname,sshPort);
if (success <> 1) then
  begin
    Memo1.Lines.Add(tunnel.LastErrorText);
    Exit;
  end;

success := tunnel.AuthenticatePw('MyLogin','MyPass');
if (success <> 1) then
  begin
    Memo1.Lines.Add(tunnel.LastErrorText);
    Exit;
  end;

tunnel.DynamicPortForwarding:=1;
listenPort := 6006;
success := tunnel.BeginAccepting(listenPort);
if (success <> 1) then
  begin
    Memo1.Lines.Add(tunnel.LastErrorText);
    Exit;
  end;
end;

Working. http://clip2net.com/s/3tbG1zL

But, when I passed through the tunnel traffic from the browser, the connection hangs and then dropped. Help me please.


Accepted Answer

Here's the new build (finally)

32-bit Download: http://www.chilkatsoft.com/download/preRelease/ChilkatAx-9.5.0-win32.zip
64-bit Download: http://www.chilkatsoft.com/download/preRelease/ChilkatAx-9.5.0-x64.zip

If a build for a different programming language / operating system is needed, please let me know. Of course.. if any trouble is found, please let me know -- but please start a new post instead of adding to this one (as this one is getting quite long..)


Answer

I'll give it a test to see if I find the same...


Answer

I've reproduced some problems and I'm working on them...


Answer

I think I understand the problem. Tomorrow I will implement the fix.


Answer

Thank you very much for your help)


Answer

This new build fixes it. I'm assuming you need either the 32-bit or 64-bit ActiveX...

32-bit Download: http://www.chilkatsoft.com/download/preRelease/ChilkatAx-9.5.0-win32.zip

64-bit Download: http://www.chilkatsoft.com/download/preRelease/ChilkatAx-9.5.0-x64.zip


Answer

Thank you!!! I can not remove the old component Chilkat ActiveX, because it is not my library(


Answer

I don't understand. Who owns the library?


Answer

How do I remove the old component Chilkat ActiveX and install the update with fixes? My Delphi - XE3.


Answer

This new build fixes it. I'm assuming you need either the 32-bit or 64-bit ActiveX...

problem is not fixes :(((