Jump to content

Unable to clone fork from gitea instance


Recommended Posts

I created a fork on the WFG gitea instance. I get an error when I try to clone:

Quote

 

$ git clone git@gitea.wildfiregames.com:andy5995/0ad.git 0ad.git
Cloning into '0ad.git'...
The authenticity of host 'gitea.wildfiregames.com (49.12.87.62)' can't be established.
RSA key fingerprint is SHA256:Q/s+KzKeUtYONDN3UZJYnDtP6EY71feeLfRTSuP48hQ.
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'gitea.wildfiregames.com' (RSA) to the list of known hosts.
git@gitea.wildfiregames.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

 

 

Link to comment
Share on other sites

No, I hadn't done that.

Ok, I've generated a new key (the public key I usually use got rejected due to its length) with:

ssh-keygen -t ed25519 -f ~/.ssh/wfg

I added the pub key to my settings and verified it (created and added the signature) but I still have the same problem.

image.png

Link to comment
Share on other sites

  • 5 months later...

Hello, I have similar issues and added my ssh key and verified. As well as pointing to correct ssh file in ssh.config. But I still get errors like:

Cloning into '0ad'...
ssh: connect to host gitea.wildfiregames.com port 22: Network is unreachable
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

am I using the wrong port or something?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...