I am sharing my ssh configuration between Linux & Cygwin and having ControlMaster auto in my configuration breaks havoc on Cygwin since its actually not supported there and probably won't be supported anytime soon. Hence, I believe it would be very nice to ignore ControlMaster directive on Cygwin, or assume it to be "no" all the time.
Created attachment 2673 [details] Make ssh_config IgnoreUnknown silence oUnsupported options too We could mark the option as oUnsupported, but AFAIK that would cause stderr spam every time you ran ssh. I guess we could make IgnoreUnknown apply to unsupported options too? Here's a patch that attempts this.
oh wait, what error do you receive when you attempt "ControlMaster auto"?
(In reply to Damien Miller from comment #2) > oh wait, what error do you receive when you attempt "ControlMaster > auto"? λ ssh -o ControlMaster=auto i10z.com process_mux_new_session: tcgetattr: Inappropriate ioctl for device Last login: Thu Jul 16 20:08:03 2015 from 95.14.75.132 havana β ~ λ select: Interrupted system call Shared connection to i10z.com closed.
Any chance of having this for 7.0 release?
I attached a patch with different solution to the other bug #1278 related to this issue. Basically I don't disable this feature, since it is quite useful in remote scripting, instead I did workaround which is now successfully used in scap-workbench.