ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

Can't install on linux fatal: [email protected]: Permission denied (publickey). Could not read from remote repository -

Open sonnyobrien opened this issue 3 months ago • 6 comments

Custom Node Testing

Your question

After installing miniconda, and setting up the virtual environment, I am getting a brick wall that I can't figure out how to solve... followed all the steps exactly as instructued on the website

(comfyenv) sonny@sonny-Legion-Y540-17IRH:~$ git clone [email protected]:comfyanonymous/ComfyUI.git Cloning into 'ComfyUI'... [email protected]: Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

Logs


Other

No response

sonnyobrien avatar Nov 04 '25 20:11 sonnyobrien

Are you sure you have an ssh key setup for git? you can try following the github docs to troubleshoot and check if you setup everything correctly: https://docs.github.com/en/authentication/troubleshooting-ssh/error-permission-denied-publickey

afterglow1284 avatar Nov 05 '25 10:11 afterglow1284

I'm just not even sure what this is, I can run git requests for any other repository, This is the only time I've had this error. Is this method just to become a user to contribute or edit the repository? I only need to download it, so what is the purpose of the ssh key setup? And how is that done? There is nothing in the steps of installation about this so it's just confusing to me.

sonnyobrien avatar Nov 07 '25 20:11 sonnyobrien

do you usually clone with https or ssh, e.g. would you normally use https://github.com/comfyanonymous/ComfyUI.git or [email protected]:comfyanonymous/ComfyUI.git to clone a repo?

afterglow1284 avatar Nov 07 '25 20:11 afterglow1284

Yes, that's correct. I would strongly recommend the installation instructions get updated to reflect steps where the url is included so its as easy as any other repo. I'm new to git and that explains exactly why I can't install the software. It really threw me off and interrupted getting setup.

What is the reasoning behind the git@github cloning method for installation?

sonnyobrien avatar Nov 07 '25 20:11 sonnyobrien

If you are not a contributor it should not matter, it is just a different way to do the same thing, but it allows you to clone private repositories if the ssh key is linked to your account, and I am pretty sure it also allows to sign your commits to verify the source

afterglow1284 avatar Nov 07 '25 20:11 afterglow1284

This issue is being marked stale because it has not had any activity for 30 days. Reply below within 7 days if your issue still isn't solved, and it will be left open. Otherwise, the issue will be closed automatically.

github-actions[bot] avatar Dec 08 '25 11:12 github-actions[bot]