-
Unknown
changed fields 1 year ago
Name Previous Value Current Value Affected Versions
master
11.0.8
-
code.onedev.io now runs behind Cloudflare and ssh access is currently not supported. Please clone via http instead. Or clone via github mirror: github.com/theonedev/onedev
-
Previous Value Current Value Open
Closed
-
For those who find this issue later: if you don't want to keep retyping your username and password (which was my major reason for using SSH), you can store the credentials in your keyring! Git has credential helpers.
For me, on linux I can use the system's keyring by installing
git-credential-libsecret. On NixOS just installgitFull, which includes it.@robin There are probably some users who abandon code.onedev.io because SSH doesn't work. I was nearly one of them until I found out about the the credential store! It would be great if y'all worked to fix SSH with cloudfare. They should be able to pass the traffic directly through to port 22.
Edit: I'd also keep this issue open, because the issue isn't actually resolved until the cloudfare issue is resolved.
-
I explored cloudflare but did not find the approach to enable public ssh access. They have ssh tunneling but that is not something I want (need to install something on client machine).
PS: You may also clone from GitHub (github.com/theonedev/onedev), which is a mirror of OneDev repository here. Also bear in mind that code.onedev.io is not a public code hosting service, it is for OneDev deveopment only.
| Type |
Bug
|
| Priority |
Normal
|
| Assignee | |
| Affected Versions |
11.0.8
|
| Labels |
No labels
|
Related to #OD-658
I forked this project, clicked on "Clone" and chose SSH then got
ssh://code.onedev.io:6611/null/serverbut that doesn't workI'm running on linux and am able to clone from github, codeberg, gitlab, and other service no problem.
What I tried
git clone ssh://[email protected]:22/null/servergit clone ssh://[email protected]/null/servergit clone ssh://code.onedev.io:22/null/serverThey all fail.