SSHChannel read buffer to EmulVT
Posted: Thu 18 Sep 2014 00:05
Thank you for the such a good components. Demo is working well.
I am not good in Delphi and trying to pick it up.
I am trying to build a terminal with SecureBridge and EmulVT component. I have found the demo of SecureBridge are quite difficult to understand. In the demo files there are no comments.
As I understand I should use tcp component to pass data between ScSSHChannel and EmulVT.
Please correct me if I am wrong.
Is it possible to get some simple example how to use ScSSHChannel. How to create a ssh tunnel and pass/send the data via EmulVT or other component.
I have tried to use TnEmulVT1KeyBuffer event to send the data without success. ScSSHChannel1.WriteBuffer(Buffer, Len)
I did not even manage to get any data from ScSSHChannel and copy to Memo.
If you have a simple example please share it.
I am not good in Delphi and trying to pick it up.
I am trying to build a terminal with SecureBridge and EmulVT component. I have found the demo of SecureBridge are quite difficult to understand. In the demo files there are no comments.
As I understand I should use tcp component to pass data between ScSSHChannel and EmulVT.
Please correct me if I am wrong.
Is it possible to get some simple example how to use ScSSHChannel. How to create a ssh tunnel and pass/send the data via EmulVT or other component.
I have tried to use TnEmulVT1KeyBuffer event to send the data without success. ScSSHChannel1.WriteBuffer(Buffer, Len)
I did not even manage to get any data from ScSSHChannel and copy to Memo.
If you have a simple example please share it.