My Problem
โโ ๐ [/mnt/c/spotspace]
โโโผ git clone git@github.com:spotikum/image-property.git
Cloning into 'image-property'...
The authenticity of host 'github.com (20.205.243.166)' can't be established.
ECDSA key fingerprint is SHA256:p2QAMXNIC1TJYWeIOttrVc98/R1BUFWu3/LiyKgUfQM.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'github.com,20.205.243.166' (ECDSA) to the list of known hosts.
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
My Solution
Generate new ssh key
ssh-keygen -t ed25519 -C "your_email@example.com"
Add SSH key to GitHub
instruction
Get your public key on this directory
/home/"your_username"/.ssh/id_rsa.pub
Top comments (0)