jkuri / bore

Reverse HTTP/TCP proxy to help you expose a local server behind a NAT or firewall to the internet via secure SSH tunnels.
https://bore.digital
MIT License
84 stars 8 forks source link

Speed Up SSH Connections #34

Open bigmoveus opened 1 year ago

bigmoveus commented 1 year ago

Hi Possible to speed up SSH connection and implant these to Bore ?

Use a Faster Cipher A cipher is a method of encrypting data transmitted over network. SSH supports several ciphers, but some ciphers are faster than others. By using a faster cipher, you can improve speed of your SSH connections. Like : Ciphers aes128-ctr,aes192-ctr,aes256-ctr

Use Multiplexing Multiplexing is a feature of SSH that allows you to reuse an existing SSH connection for multiple sessions. When you use multiplexing, SSH sets up a single connection to remote host and uses that connection for multiple sessions.

Use Compression Compression is a method of reducing size of data transmitted over network. It can significantly improve speed of SSH connections, especially over slow or high-latency networks The compression level ranges from 1 to 9, with 1 being fastest and 9 being slowest but most efficient. You can experiment with different compression levels to find one that works best for your network.

Also how can just run TCP Direct in Server side without HTTP and HTTPS ?

jkuri commented 1 year ago

hi @bigmoveus,

thanks for checking on bore project. I am accepting the pull requests for all features mentioned :) Also, I am aware of direct TCP connections doesn't work on hosted service, for that you will need to host bore-server yourself.

bigmoveus commented 1 year ago

I am using bore server in my server for USB sharing 😀 mean forward ports and working so great just have a problem in speed if possible can little speed up will be so great ! You did great works ! Good job man !

If can add like parameter to bore for Use Compression or Use Multiplexing will be so good .

thank you again !