JL Picard
2010-Nov-08 22:51 UTC
How to explicitly define the default setting for ProxyCommand for a particular host
I would like to create an ssh_config file with two basic groups of settings: A default "Host *" settings group with: Proxycommand=/my/helper/binary %h %p And another specific "Host specialServer" settings group with ProxyCommandor ProxyCommand='' And yes, my current ssh_config file is setup in the correct order with the "Host *" declaration last. Host specialServer ProxyCommand=XXXXXXX Host * Proxycommand=/my/helper/binary %h %p I would like to know what I should put in for XXXXXXX, so that server=specialServer just directly SSH's without any proxy command
Darren Tucker
2010-Nov-09 00:39 UTC
How to explicitly define the default setting for ProxyCommand for a particular host
On 9/11/10 9:51 AM, JL Picard wrote: [...]> I would like to know what I should put in for XXXXXXX, so that > server=specialServer just directly SSH's without any proxy command"ProxyCommand none", which was introduced in v3.6. From ssh_config(5): ProxyCommand [...] Setting the command to ``none'' disables this option entirely. -- Darren Tucker (dtucker at zip.com.au) GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69 Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.