sftp: gvfs should not invent a new ControlPath if there is an already running master multiplex
I noticed cf540d8d breaks my usual workflow with nautilus accessing sftp hosts
You see, before nautilus/gvfs gets into play I already have a running ssh multiplexer and I already have a defined ControlPath in my .ssh/config. This used to work fine and without additional authentication using the already existing connection master.
After the above fix gvfs invents is own ControlPath which prevents it from using the already existing setup.
I've concocted a workaround that works for me here yaneti/gvfs@1e7c955a
It uses the openssh -O check to see if a master for connections to the same host is already running.