msys2 / msys2-installer

The one-click installer for MSYS2
BSD 3-Clause "New" or "Revised" License
561 stars 87 forks source link

Github communication error #71

Closed becauro closed 11 months ago

becauro commented 12 months ago

Hi, guys!

I installed the 2023-07-18 version, but that is not working to communicate with github

When I type ssh -T git@github.com I get authentication error

git-error-in-msys2

Notes:

Notes (off-topic):

Biswa96 commented 12 months ago

Type 'yes' after that question.

sskras commented 12 months ago

@becauro commented 7 hours ago:

When I type ssh -T git@github.com I get authentication error

[...]

It does not for me with vanilla Git for Windows setup:

image

I guess if you are remove the GitHub lines from .ssh/known_hosts like this (eg. by renaming the file):

github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=

... then it would fail for you too.

So, essentially it would be what @Biswa96 said :)

becauro commented 11 months ago

Thank you, @Biswa96
Yes, @sskras