cyd01 / KiTTY

:computer: KiTTY, a free telnet/ssh client for Windows
https://www.9bis.com/kitty
Other
1.58k stars 135 forks source link

socks proxy from command line #398

Open vespino opened 2 years ago

vespino commented 2 years ago

Using the following command I'm able to start a socks proxy that I can use in my browser:

kitty user@server -P 22222 -D 5432

If I enter 127.0.0.1:5432 as socks proxy, I'm able to open remote web interface using their local IP. I would also like to connect to hosts on the remote network via SSH, but to do this I have to manually set the proxy. I was wondering if it's possible to start a KiTTY session from the command line using the proxy previously started.

cyd01 commented 2 years ago

It is not currently available.
But since there is now a Proxy selector list box in main menu box
image
it could be interesting to add a command-line parameter to use it. I'll think of it.

vespino commented 2 years ago

Of course I don’t know how difficult this would be and if people even use it, but it would be great if it were possible to simply add it in the command line, something like “-sp host:port” (sp being socks proxy).