[PATCH] Allow "ProxyCommand none" in ssh_config

Shinichi Maruyama marya at st.jip.co.jp
Tue Oct 1 11:12:24 EST 2002


binder> As discussed in the thread "Question regarding patch for
binder> ProxyCommand setting".
binder> 
binder> The patch is rather straight forward; maybe it would be a good
binder> idea to improve it in a way that it uses a list of string options
binder> that may have a "none" value to reset it to NULL.

I think it's against the syntax of OpenSSH configuration.
In readconf.c

   # Any configuration value is only changed the first time it is set.
   # Thus, host-specific definitions should be at the beginning of the
   # configuration file, and defaults at the end.

Thus, the order of 'none' must specified earlier and you can't reset it
to NULL at this timing.

	Host foo
		ProxyCommand	none
	Host *
		ProxyCommand	/some/command

-- 
MARUYAMA Shinichi <marya at st.jip.co.jp>



More information about the openssh-unix-dev mailing list