I am following this link to setup ssh codecommit AWS
At the step 10
PS C:\Users\mrdar\.ssh> ssh git-codecommit.us-west-2.amazonaws.com
The authenticity of host 'git-codecommit.us-west-2.amazonaws.com (52.119.161.60)' can't be established.
RSA key fingerprint is SHA256:0pJx9SQpkbPUAHwy58UVIq0IHcyo1fwCpOOuVgcAWPo.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
and the result:
Warning: Permanently added 'git-codecommit.us-west-2.amazonaws.com,52.119.161.60' (RSA) to the list of known hosts.
You have successfully authenticated over SSH. You can use Git to interact with AWS CodeCommit. Interactive shells are not supported.Connection to git-codecommit.us-west-2.amazonaws.com closed by remote host.
Connection to git-codecommit.us-west-2.amazonaws.com closed.
There are four files in .ssh folder:
codecommit_rsa
codecommit_rsa.pub
config
known_hosts(this generated after I ran this command `ssh git-codecommit.us-west-2.amazonaws.com`)
and then I perform this command on git bash:
git clone ssh://git-codecommit.us-west-2.amazonaws.com...
and I got this issue:
Unable to negotiate with 52.94.210.119 port 22: no matching host key type found. Their offer: ssh-rsa
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I can't clone my git repo from AWS codecommit, what will I do next ?, I have tried some solutions on google but none of them work. I do the same with the new lap and it worked, I don't know why my old laptop did not work:@. Thanks for reading.