antoniomika / sish

HTTP(S)/WS(S)/TCP Tunnels to localhost using only SSH.
https://ssi.sh
MIT License
4.03k stars 308 forks source link

[Feature-Request] - Record notes when starting a tunnel #290

Open manprint opened 11 months ago

manprint commented 11 months ago

Hi @antoniomika,

It would be interesting to implement a mechanism to log notes when starting an http(s)/tcp tunnel. Maybe with a "note" parameter to be passed to the client side when establishing the tunnel.

For example:

ssh -p 2222 -R foo:80:localhost:8080 mysishserver.it note="Tunnel for testing my DAV service, instantiated on the dav-01 machine on the office ced"

This note should appear in the console (perhaps with a button that shows it if the note is present) In this way, from the console you can keep track of what each tunnel does via these notes (at the moment I have an excel sheet in which I manually mark all the instantiated tunnels)

This feature would be truly appreciated.

Thank you so much for your work with sish!