1

Hi all I was trying to use the MobileBuy sdk https://github.com/Shopify/mobile-buy-sdk-android and I am not able to clone the sample application. I have added the ssh keys to my github profile yet I am not able to clone. I have added the screenshot of my problem. here is the link of the sample application https://github.com/Shopify/mobile-buy-sdk-android/tree/master/MobileBuy/sample. Any help would be highly appreciated.

screenshot

Vishnu M Menon
  • 1,459
  • 2
  • 19
  • 34

1 Answers1

0

Try and update your knwon_hosts file:

ssh-keygen -R github.com
ssh-keyscan -H -t rsa github.com >> c:\Users\<yourLogin>\.ssh\known_hosts

That way, ssh should be able to verify the Host key.

Make sure your PATH includes <git>/usr/bin (where ssh commands are)


Warning March 2023:

"GitHub has updated its RSA SSH host key"


VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • @vishnumm93 For testing, would it work better with https instead of ssh? `git config --global url."https://github.com/".insteadOf git@github.com:` – VonC Aug 24 '17 at 06:47