-
SSH clone url is different from GitHub/GitLab. Check the url here:

-
Thank you for responding so quickly.
I think for me this was originally
ssh://server:6611/group/repo, which seems in line with what is oncode.onedev.io. Unfortunately, when I push using that my connection seems to hang forever.bart in pop-os in evemarketeernew on master via ?? took 1m5s ❯ git push --verbose Pushing to ssh://onedev.jp.serial-experiments.com:6611/bart/evemarketeernewi switched to something that removed the
ssh://protocol part, and that at least allowed me to connect, but started giving me the Permission denied (publickey) error.❯ git push --verbose Pushing to onedev.jp.serial-experiments.com:6611/bart/evemarketeernew [email protected]: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. -
Also when manually specifying the onedev account name:
❯ git push --verbose Pushing to onedev.jp.serial-experiments.com:6611/bart/evemarketeernew [email protected]: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.Or cloning from the original URL (just to test), seems like it actually times out this time.
bart in pop-os in ~/Projects ❯ git clone ssh://onedev.jp.serial-experiments.com:6611/bart/evemarketeernew test2 Cloning into 'test2'... ssh: connect to host onedev.jp.serial-experiments.com port 6611: Connection timed out fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. -
For a test: please add your public key to your account at code.onedev.io, and then try to clone ssh://code.onedev.io:6611/onedev/server to see if it works.
-
@robin I've fixed it by creating/restarting the docker instance on a different server (keeping the same data volume). I'm not quite sure why this fixed it where restarting the container didn't, it shouldn't theoretically be different, but I'll have to assume I messed up somewhere.
Thank you for your help, and for creating onedev 🙂
-
Previous Value Current Value Open
Closed
-
Glad to see it is working now.
-
OneDev
referenced from other issue 4 years ago
| Type |
Question
|
| Priority |
Normal
|
| Assignee |
As far as I can see I've done things correctly.
useruser@server:6611/group/repoI've also tried substituting
userwithgitsince that's what Gitlab/Github seem to do, but no dice. I always get thePermission denied (publickey)error when I push.