hierynomus / sshj

ssh, scp and sftp for java
Apache License 2.0
2.46k stars 594 forks source link

Support for connected sockets #924

Closed martin-volf closed 5 months ago

martin-volf commented 5 months ago

The library always calls Socket.connect and does not allow applications to provide sockets that have been already connected. Only minor changes are needed for that, should I bother opening a pull-request?

hierynomus commented 5 months ago

Hi! Feel free indeed. Shouldn't be too hard to add that to the SocketClient. Also please see if you can add a test to it to prove it works.