I'm using two-factor auth and that's why HTTPS isn't convenient way to work with GitHub repos and gists.
I have correct config and github_pr_key files in my ~/.ssh directory.
I'm able to clone all my personal and public repos.
But I can't clone via SSH any of my private or public gists, I have this error:
~/Desktop >> git clone git@gist.github.com:d1b8041051e62aa34f337b3dabc77d9a.git
Cloning into 'd1b8041051e62aa34f337b3dabc77d9a'...
The authenticity of host 'gist.github.com (192.30.253.118)' can't be established.
RSA key fingerprint is SHA256:nThbg6kXUpJWGl22E1IGOCspRomTxdCARLviKw6E5SY8.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'gist.github.com,192.30.253.118' (RSA) to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
How it can be fixed?