[PATCH] Allow "ProxyCommand none" in ssh_config

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


I'm very sorry, I confused to follow up with your article and
the article of 'Thomas Binder <binder at arago.de>'.
 Message-ID: <20020930210521.B19338935 at ohm.arago.de>

mouring> Not following.  strcmp() == 0 is extact match.   I dislike the use of '-'.
mouring> '-' implies 'stdout/stdin'  and that is incorrect.  Overloading common
mouring> UNIX concepts is asking for confuse newbies worse.

I agree with this.
But your patch is 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