Add the -q parameter after "$SVN_SSH ssh" in ~/.subversion/config
In plain English:
If your ~/.subversion/config already has such a line, then edit the line. Else add it.
So, if you are sure there is no occurrence of ssh = $SVN_SSH ssh then add a new line:
ssh = $SVN_SSH ssh -q
If the line already exists, typically as ssh = $SVN_SSH ssh -o ControlMaster=no then edit it to read ssh = $SVN_SSH ssh -q -o ControlMaster=no
Warning: The order of the parameters seems to matter. ssh = $SVN_SSH ssh -q -o ControlMaster=no works, but ssh = $SVN_SSH ssh -o -q ControlMaster=no fails with the message command-line: line 0: Bad configuration option: -q.
"Warning: The order of the parameters seems to matter. ssh = $SVN_SSH ssh -q -o ControlMaster=no works, but ssh = $SVN_SSH ssh -o -q ControlMaster=no fails with the message command-line: line 0: Bad configuration option: -q."
that is because you placed the -q after the -o which is looking for the option (ControlMaster=no) specified by -o. if you placed the -q after the option, it will work. ie
The message you are seeing is printed by ssh as a result of the fix for svn-issue #2580.
This is expected. You need to add
-q
to the ssh command invoked by svn, which happens by default as of 1.6.6.Put this in
~/.subversion/config
under the[tunnels]
section:The correct answer is:
In plain English:
If your ~/.subversion/config already has such a line, then edit the line. Else add it.
So, if you are sure there is no occurrence of ssh = $SVN_SSH ssh then add a new line:
If the line already exists, typically as
ssh = $SVN_SSH ssh -o ControlMaster=no
then edit it to readssh = $SVN_SSH ssh -q -o ControlMaster=no
Warning: The order of the parameters seems to matter.
ssh = $SVN_SSH ssh -q -o ControlMaster=no
works, butssh = $SVN_SSH ssh -o -q ControlMaster=no
fails with the message command-line: line 0: Bad configuration option: -q.This doesn't work - I think this is the fix for the previous bug.
If it isnt working perhaps you are invoking ssh using something other than the $SVN_SSH variable. http://www.freebsdonline.com/content/view/764/528/ has an example of that.
regarding the warning:
that is because you placed the -q after the -o which is looking for the option (ControlMaster=no) specified by -o. if you placed the -q after the option, it will work. ie