]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Add a '-proxycmd' command-line option.
authorSimon Tatham <anakin@pobox.com>
Tue, 3 May 2016 13:31:10 +0000 (14:31 +0100)
committerSimon Tatham <anakin@pobox.com>
Tue, 3 May 2016 14:59:15 +0000 (15:59 +0100)
commite65e5d165fc2935fcc4bece20dddce485316042f
tree7f62aacd8262c5d21a368df9497f9f6568863644
parentd47be8d91a0395f521f91e653196d2ad64802a74
Add a '-proxycmd' command-line option.

This is equivalent to selecting 'Local' as the proxy type and entering
the argument string in the proxy command box, in the GUI.

I've pulled this out of all the other proxy options to promote to a
named command-line option, partly because it's the proxy option with
the most natural command-line expression in the first place (any shell
command you might want to use is already in the form of a single
string), and also because it has uses beyond end-user proxying
applications: in particular, replacing the network connection with a
local process is a convenient way to do testing in the style of
contrib/samplekex.py, avoiding the need to run a separate command to
make the test 'server' listen on a port.
cmdline.c
doc/using.but