Connection closed by 82.94.226.107 port 22

I’m following Tools/Pull Requests - Blender Developer Wiki to create a pull request. I got to the Test part but when trying to use git fetch me I get the following message:

The authenticity of host 'projects.blender.org (82.94.226.107)' can't be established.
RSA key fingerprint is SHA256:ny+vcWlA5GVdVJFduVmBIyCthgqmNAXdNShi/QSv//U.
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'projects.blender.org' (RSA) to the list of known hosts.
Connection closed by 82.94.226.107 port 22
fatal: Could not read from remote repository.

What did I do wrong?

1 Like

What’s the output of git remote -v ?

It’s

me      [email protected]:Hoshinova/blender.git (fetch)
me      [email protected]:Hoshinova/blender.git (push)
origin  https://projects.blender.org/blender/blender.git (fetch)
origin  https://projects.blender.org/blender/blender.git (push)

But after I used git fetch me again there wasn’t an error anymore so I it works now I guess?

hey if it works, you’re good :slight_smile:

Hi, i’m having a similar issue while trying to follow Pull Requests - Blender Developer Documentation, at the Test chapter.

$ git fetch me
The authenticity of host 'projects.blender.org (82.94.226.107)' can't be established.
RSA key fingerprint is SHA256:ny+vcWlA5GVdVJFduVmBIyCthgqmNAXdNShi/QSv//U.
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])? no
Host key verification failed.
fatal: Could not read from remote repository.

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

$ git remote -v
me      [email protected]:L0Lock/blender.git (fetch)
me      [email protected]:L0Lock/blender.git (push)
origin  https://projects.blender.org/blender/blender.git (fetch)
origin  https://projects.blender.org/blender/blender.git (push)
Are you sure you want to continue connecting (yes/no/[fingerprint])? no

did you answer no there, or did git manage that on its own without offering a choice?

1 Like

I answered no, because i’m not sure what all this is and the message make it sound like i should be sure of what i’m doing to say yes.

AND the documentation says this:

Now you can test if your SSH key and remote URL works, there should not be any errors when running this:

git fetch me

There’s likely a certificate issue on your local end , could be an outdated file somewhere or an old library/git version, hard to say, the host fingerprint however checks out (same one in the opening post in this thread) so you can safely answer yes to that question.

1 Like

Alright, thanks for the confirmation. So I did just that, but now I get a new error 🫨

$ git fetch me
The authenticity of host 'projects.blender.org (82.94.226.107)' can't be established.
RSA key fingerprint is SHA256:ny+vcWlA5GVdVJFduVmBIyCthgqmNAXdNShi/QSv//U.
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'projects.blender.org' (RSA) to the list of known hosts.
[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.

$ git fetch me
[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.

Did you add your key on the website? you can diagnose what keys are being used by running

ssh -v [email protected]

if all goes well, you should get something along the lines of

Hi there, [YourUserNameHere]! 
You've successfully authenticated with the key named [YourKeyNameHere], 
but Gitea does not provide shell access. If this is unexpected, please log in 
with password and setup Gitea under another user.

If not, you need to resolve whatever issue it is having.

1 Like

Ooooh I managed to fix it! :partying_face: I did as you asked, and I had a bunch of errors of it failing to find files in paths like C:\\Users\\Lauloque/.ssh/id_rsa.
And indeed, I didn’t have the ~/.ssh/id_rsa.pub as the documentation mentioned, because when I used ssh-keygen as described, it asked me to give a custom name, which I did, but it seems it lead to the tool to creating the files in the repository root with my custom name instead of ~/.ssh/id_rsa.pub.

So I ran again ssh-keygen, but when prompted to choose a custom name, I hit Enter without typing a custom name. Then it made the ~/.ssh/id_rsa.pub file correctly. I had to change my key on gitea, I guess renaming and moving the key files I already had made in the repo would have been enough.

Then I tried ssh -v [email protected], typed my passphrase, and it finished as you said.

Then I did git fetch me and it seems to work, it gave me some info about branches and stuff. It did finish with this, but I guess it still good enough to pass the SSH key test? X)

Could not access submodule 'tests/data'

Regardless, many thanks :slight_smile: