My apologies Viktor, I found the use in the SSHCLient demo, I will go over this and come back to you if I still hit a problem.
Thanks you.
SSH with Channel issues
Re: SSH with Channel issues
Please specify the exception you get and when it happens.
Re: SSH with Channel issues
Hi Viktor,
Just to let you know I did get this working using your demo project example. In case this helps anyone this is what it looked like;
uses ScSSHSocket;
procedure TForm1.SSHTunnelSocketConnect(Sender: TObject; const SockAddr: PSOCKADDR);
var
Sock: TIPEndPoint;
begin
Sock := TIPEndPoint.Create(PSockAddrIn(SockAddr));
Showmessage('SSH Socket '+Sock.ToString+' connected on Port '+IntToStr(Sock.Port));
end;
Just to let you know I did get this working using your demo project example. In case this helps anyone this is what it looked like;
uses ScSSHSocket;
procedure TForm1.SSHTunnelSocketConnect(Sender: TObject; const SockAddr: PSOCKADDR);
var
Sock: TIPEndPoint;
begin
Sock := TIPEndPoint.Create(PSockAddrIn(SockAddr));
Showmessage('SSH Socket '+Sock.ToString+' connected on Port '+IntToStr(Sock.Port));
end;
Re: SSH with Channel issues
Thank you for the interest to our product.
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.