pyscripter / Ssh-Pascal

Delphi ssh library wrapping libssh2
MIT License
80 stars 33 forks source link

Multiple Connections on LocalForward #11

Closed marcianobandeira closed 2 weeks ago

marcianobandeira commented 3 years ago

Hello, is it possible to make multiple connections through firedac in the ssh tunnel?

When I create the tunnel via ssh client on windows, this is possible, but when I create using the sample in this repository, it crashes when making a second connection.

Thanks.

pyscripter commented 2 weeks ago

Fixed. Please check and report back.

marcianobandeira commented 1 week ago

working perfectly now, thank you very much

pyscripter commented 1 week ago

@marcianobandeira I wanted to ask whether your FireDAC connections are executed in parallel or sequentially (one after the other)? I think that parallel execution is not working well and I am inclined to go back to sequential execution.

I think that port forwarding is not compatible with parallel handling of connections to the same port.

marcianobandeira commented 1 week ago

Hello @pyscripter my connections are parallel, during the execution of my system, several threads are performed opening and closing connections, our tests using authentication by user and password, worked perfectly.