# Node-RED Projects: using an organization's Github repository with SSH

**URL:** <https://discourse.nodered.org/t/node-red-projects-using-an-organizations-github-repository-with-ssh/76075>\
**Category:** General\
**Created:** [3 March 2023 18:20 UTC](https://discourse.nodered.org/t/node-red-projects-using-an-organizations-github-repository-with-ssh/76075 "2023-03-03T18:20:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![raspberry](https://avatars.discourse-cdn.com/v4/letter/r/35a633/32.png) [@raspberry](https://discourse.nodered.org/u/raspberry)\
**Post date:** [3 March 2023 18:20 UTC](https://discourse.nodered.org/t/node-red-projects-using-an-organizations-github-repository-with-ssh/76075/1 "2023-03-03T18:20:59Z")

</div>

Hello!

I am wondering if anyone has tied Node-RED to an organization repo over SSH before, because I am having some trouble. Is it possible? I have setup a Github remote over SSH to a personal repo before without issue.

Here is what I have tried:

I am part of an organization that has a repository with **flows.json** , **credentials.json** , **package.json**

I generated an SSH key through the Node-RED projects settings: **ssh-rsa AAAAB3NzaC1yc2EAAA...** (etc)

I added the public key to the organization's Github repository as a **Deploy key** (note: during troubleshooting I have also tried adding it to my personal account's SSH keys)

Now I am trying to clone the project over SSH using the Github projects "New Project" template. This is what I have for each step:

**Username** : using my personal account username  
**Email** : using my github account email  
**Project name** : using same as the repo (for simplicity)  
**Git repository url** : ssh://git@github.com:[my organization]/[repo name].git  
**SSH Key** : the key I generated shows up so I select it  
**Passphrase** : none for now (when I figure out how this works I can make a new key)

When I try to follow through with this, I get " **Authentication failed**"

The chance that I am doing something wrong is non-zero (high), but I also realize there may not be support for cloning from organization repos using deploy keys.

---

<div class="post-metadata">

**Author:** ![raspberry](https://avatars.discourse-cdn.com/v4/letter/r/35a633/32.png) [@raspberry](https://discourse.nodered.org/u/raspberry)\
**Post date:** [6 March 2023 22:21 UTC](https://discourse.nodered.org/t/node-red-projects-using-an-organizations-github-repository-with-ssh/76075/2 "2023-03-06T22:21:20Z")

</div>

I think I fixed my own problem. I may leave this post up for anyone else who runs into similar issues.

If you look at the SSH URL I was trying, I had:  
**ssh://git@github.com:[my organization]/[repo name].git**

That URL is based on the one Github provides when selecting "SSH" as a cloning method.

The issue is the colon : between github and my organization. The proper URL should be:  
**ssh://git@github.com/[my organization]/[repo name]**

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [20 March 2023 22:21 UTC](https://discourse.nodered.org/t/node-red-projects-using-an-organizations-github-repository-with-ssh/76075/3 "2023-03-20T22:21:59Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
