Closed vkbytes closed 1 year ago
The quick fix to this problem is to scan all the github keys and add them to your ~/.ssh/known_hosts
file. This can be done with ssh-keyscan
this little information is not there on the docs page but I guess people can come across this issue on every new installation.
To fix this run:
ssh-keyscan github.com >> ~/.ssh/known_hosts
You should see an output similar to
ssh-keyscan github.com >> ~/.ssh/known_hosts
# github.com:22 SSH-2.0-babeld-1614812c
# github.com:22 SSH-2.0-babeld-1614812c
# github.com:22 SSH-2.0-babeld-1614812c
# github.com:22 SSH-2.0-babeld-1614812c
thanks @vkbytes, the issue you are describing may appear when using the ssh url of the repo (git+ssh://git@...) instead of the https url as described in the project's README:
pipx install git+https://github.com/autonity/aut.git
While installing the
aut
commandline you may see this issue where the key to github.com cannot be determined and your installation will be stuck and will error out with the following error