I want to checkout the glassfish svn with subgit
2.0.2.
I added
ssh-rsa blabla user@host
in the user account settings of java.net. The key is stored locally under ~/.ssh/authorized_keys
and id_rsa.user@host.pub
.
I set up subgit
with subgit configure --svn-url svn+ssh://javauser@svn.java.net/glassfish~svn /path/to/folder
and changed /path/to/folder/config
to
[core]
repositoryformatversion = 0
filemode = true
bare = true
logallrefupdates = false
bigFileThreshold = 1m
[svn]
url = svn+ssh://javauser@svn.java.net/glassfish~svn
[auth "default"]
sshKeyFile = /home/user/.ssh/id_rsa.user@host.pub
subgit install /path/to/folder
fails due to error: svn: E170001: Authentication required for 'javauser@svn+ssh://svn.java.net'
.
Edit 1 and 3: I want to checkout with svn+ssh
because with svn
and https
I'm getting
error: svn: E175002: PROPFIND of '/': 405 Method Not Allowed (https://svn.java.net)
orerror: svn: E175002: PROPFIND of '/svn/glassfish~svn': 502 Proxy Error (https://svn.java.net)
after different periods of time (sometime immediately, sometimes after days (it's a large checkout...), but I never managed to checkout/clone completely), with http
I'm getting relocation error because the server enforces https
this way.
Edit 2: When I invoke ssh javauser@svn.java.net
and ssh javauser@java.net
I'm getting Permission denied (publickey).
and I'm not sure whether this is intended, because I guess I shouldn't be able to login on the java.net server or whether the key isn't working.
EDIT 3: java.net seems to let all REPORT
requests (I'm not too familiar with svn
, maybe that's very rare and relies on some extension of underlying protocoll which get stuck in a misconfigured firewall - why else could it timeout always on REPORT
requests?) making it impossible to checkout even with svn
.