Subversion SSH OSError: [Errno2]

Hi there,

I configured RhodeCode for subversion and it works great. Then I wanted to go one step further and enable SSH Key authentication for checkouts. I followed the instruction https://docs.rhodecode.com/RhodeCode-Enterprise/auth/ssh-connection.html and it works for git and hg. If I try to checkout a subversion repository I get the following message (ssh debug mode enabled):

$ svn co svn+ssh://rhodecode@192.168.100.237/SVN-Repo
2018-02-15 10:58:04.748 INFO  [rhodecode.model] initializing db for mysql://rhodecode:XXXXX@127.0.0.1:3306/rhodecode
2018-02-15 10:58:04.748 INFO  [rhodecode.config.environment] Enabled VCS backends: ['svn', 'hg', 'git']
2018-02-15 10:58:07.286 INFO  [rhodecode.config.middleware] Pyramid app <functionpyramid_app_with_cleanup at 0x7f90d6501398> created and configured.
2018-02-15 10:58:07.376 ERROR [rhodecode.apps.ssh_support.lib.backends] Error occurred during execution of SshWrapper
Traceback (most recent call last):
 File "/opt/rhodecode/store/b5axq8nahxlb54523zpgma4azzg30b1c-python2.7-rhodecode-enterprise-ce-4.11.3/lib/python2.7/site-packages/rhodecode/apps/ssh_support/lib/backends/__init__.py", line 193, in wrap
scm_detected, scm_repo, scm_mode, user, permissions)
File "/opt/rhodecode/store/b5axq8nahxlb54523zpgma4azzg30b1c-python2.7-rhodecode-enterprise-ce-4.11.3/lib/python2.7/site-packages/rhodecode/apps/ssh_support/lib/backends/__init__.py", line 150, in serve
return server.run()
File "/opt/rhodecode/store/b5axq8nahxlb54523zpgma4azzg30b1c-python2.7-rhodecode-enterprise-ce-4.11.3/lib/python2.7/site-packages/rhodecode/apps/ssh_support/lib/backends/base.py", line 146, in run
return self._handle_tunnel(extras)
 File "/opt/rhodecode/store/b5axq8nahxlb54523zpgma4azzg30b1c-python2.7-rhodecode-enterprise-ce-4.11.3/lib/python2.7/site-packages/rhodecode/apps/ssh_support/lib/backends/svn.py", line 224, in _handle_tunnel
exit_code = self.tunnel.run(extras)
 File "/opt/rhodecode/store/b5axq8nahxlb54523zpgma4azzg30b1c-python2.7-rhodecode-enterprise-ce-4.11.3/lib/python2.7/site-packages/rhodecode/apps/ssh_support/lib/backends/svn.py", line 170, in run
self.start()
 File "/opt/rhodecode/store/b5axq8nahxlb54523zpgma4azzg30b1c-python2.7-rhodecode-enterprise-ce-4.11.3/lib/python2.7/site-packages/rhodecode/apps/ssh_support/lib/backends/svn.py", line 79, in start
self.process = Popen(command, stdin=PIPE)
 File "/opt/rhodecode/store/g7qzsl3a8sb23daxgs3gin4j22dhs3sw-python-2.7.12/lib/python2.7/subprocess.py", line 711, in __init__
errread, errwrite)
 File "/opt/rhodecode/store/g7qzsl3a8sb23daxgs3gin4j22dhs3sw-python-2.7.12/lib/python2.7/subprocess.py", line 1343, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory

Does anyone have an idea? Thanks in advance!

Hmm,

We’ll need to check that, afair we seen this once with some misconfiguration on svn side

Please check out 4.11.4 release which should address your issues. Thanks for reporting this back to us!

Upgraded and it works like a charm. Thank you!