I am trying to clone a file into my device but instead I’m getting this error.
`Cloning into ‘DPGAnalysis/HcalNanoProd’…
/user/g/gb/.ssh/config: line 3: Bad configuration option: usekeychain
/user/g/gb/.ssh/config: terminating, 1 bad configuration options
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.`
So I looked up some forums that people had the same problem and tried this.
Host github.com AddKeysToAgent yes IgnoreUnknown AddKeysToAgent,UseKeychain UseKeychain yes IdentityFile ~/.ssh/id_ed25519
I used IgnoreUnknown
and I exptected to work but still getting the same problem.
`Cloning into ‘DPGAnalysis/HcalNanoProd’…
/user/g/gb/.ssh/config: line 4: Bad configuration option: usekeychain
/user/g/gb/.ssh/config: terminating, 1 bad configuration options
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.`
I tried removing UseKeychain yes
cuts my connect from github.
[email protected]: Permission denied (publickey).
Tick is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.