i've encountered strange issue while trying recursively clone git repository:
# git clone --recursive git@github.com:eteran/edb-debugger.git initialized empty git repository in /edb-debugger/.git/ authenticity of host 'github.com (192.30.253.113)' can't established. rsa key fingerprint 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48. sure want continue connecting (yes/no)? yes warning: permanently added 'github.com,192.30.253.113' (rsa) list of known hosts. permission denied (publickey). fatal: remote end hung unexpectedly
trying on machine returned different result:
$ git clone --recursive git@github.com:eteran/edb-debugger.git cloning 'edb-debugger'... warning: permanently added rsa host key ip address '192.30.253.112' list of known hosts. permission denied (publickey). fatal: not read remote repository. please make sure have correct access rights , repository exists.
i'm not sure what's going on inconsistent errors, or why started happening when working fine shortly before. there 2 ( separate ) other questions ( ¹₂ ) mention each error, however, encapsulates both errors in 1 unrelated issue.
any clue problem might be?
you can resolve in 2 ways:
either, create ssh-key , add public key of both computers in github account. after command work
git clone --recursive git@github.com:eteran/edb-debugger.git
or, clone using https. prompt credentials enter credentials , cloned
git clone --recursive https://github.com/eteran/edb-debugger.git
in case having problem created ssh keys use command see if ssh key loaded , public key added in github account. see loaded key:
ssh-add -l
it should list key this:
2048 sha256:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx /users/<username>/.ssh/id_rsa (rsa)
Comments
Post a Comment