Hello,
i try to setup svn via ssh because we have some major troubles with large files over https.
I can add keys and sshd container is running but nothing is accessible.
At a first step i tried ssh directly to port 9022 via " ssh -i ~/.ssh/id_rsa_rhodecode_access_priv.key -p 9022 user@server.xx.xx " but i get only access denied public-key
With the user rhodecode there seems some little success but the following error occurs:
SVN_SSH=“ssh -i ~/.ssh/id_rsa_rhodecode_access_priv.key” svn checkou
t svn+ssh://rhodecode@svn06-001.edag.de/Administration/Test
rhodecode@svn06-001.edag.de’s password:
svn: E170013: Unable to connect to a repository at URL ‘svn+ssh://rhodecode@svn06-001.edag.de
/Administration/Test’
svn: E210002: To better debug SSH connection problems, remove the -q option from ‘ssh’ in the
[tunnels] section of your Subversion configuration file.
svn: E210002: Network connection closed unexpectedly
nwadmin@gitlab-klon1:~$ SVN_SSH=“ssh -i ~/.ssh/id_rsa_rhodecode_access_priv.key -p 9022” svn
checkout svn+ssh://rhodecode@svn06-xxx.xx.sw/Administration/Test
Traceback (most recent call last):
File “/usr/local/bin/rhodecode_bin/bin/rc-ssh-wrapper-v2”, line 8, in
sys.exit(main())
^^^^^^
File “/home/rhodecode/venv/lib/python3.11/site-packages/click/core.py”, line 1157, in cal
l
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/rhodecode/venv/lib/python3.11/site-packages/click/core.py”, line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File “/home/rhodecode/venv/lib/python3.11/site-packages/click/core.py”, line 1434, in invok
e
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/rhodecode/venv/lib/python3.11/site-packages/click/core.py”, line 783, in invoke
return _callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/rhodecode/venv/lib/python3.11/site-packages/rhodecode/apps/ssh_support/lib/ssh
wrapper_v2.py", line 99, in main
return_code = ssh_wrapper.wrap()
^^^^^^^^^^^^^^^^^^
File “/home/rhodecode/venv/lib/python3.11/site-packages/rhodecode/apps/ssh_support/lib/back
ends/init.py”, line 344, in wrap
user = self.parse_user_related_data(data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/home/rhodecode/venv/lib/python3.11/site-packages/rhodecode/apps/ssh_support/lib/back
ends/init.py”, line 299, in parse_user_related_data
user.user_id = user_data[“user_id”]
~~~~~~~~~^^^^^^^^^^^
TypeError: ‘NoneType’ object is not subscriptable
svn: E170013: Unable to connect to a repository at URL ‘svn+ssh://rhodecode@svn06-xx1.xx.sw
/Administration/Test’
svn: E210002: To better debug SSH connection problems, remove the -q option from ‘ssh’ in the
[tunnels] section of your Subversion configuration file.
svn: E210002: Network connection closed unexpectedly