# Issue connecting to github with ssh

**URL:** <https://discourse.nodered.org/t/issue-connecting-to-github-with-ssh/83113>\
**Category:** General\
**Created:** [22 November 2023 21:31 UTC](https://discourse.nodered.org/t/issue-connecting-to-github-with-ssh/83113 "2023-11-22T21:31:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wolfgang](https://avatars.discourse-cdn.com/v4/letter/w/54ee81/32.png) [@Wolfgang](https://discourse.nodered.org/u/Wolfgang)\
**Post date:** [22 November 2023 21:31 UTC](https://discourse.nodered.org/t/issue-connecting-to-github-with-ssh/83113/1 "2023-11-22T21:31:25Z")

</div>

Trying to connect my Node- RED project to github. Got as far as pushing to remote: master button to connect, to the git project , then I receive a passphrase screen for the ssh key I provided and regardless of whether I generated the key with or without passphrase it will always loop after entering the passphrase and hitting retry.

I tried the same key with the command line and it works fine:  
wolfgang@raspberrypi:~ $ ssh -T [git@github.com](mailto:git@github.com) -i ~/.node-red/dev/projects/.sshkeys/\*\*\*\*\*\*\*\*\*\*  
Hi WolfgangKnobloch! You've successfully authenticated, but GitHub does not provide shell access.

Any idea why Node-RED loops here?

---

<div class="post-metadata">

**Author:** ![Wolfgang](https://avatars.discourse-cdn.com/v4/letter/w/54ee81/32.png) [@Wolfgang](https://discourse.nodered.org/u/Wolfgang)\
**Post date:** [30 December 2023 13:17 UTC](https://discourse.nodered.org/t/issue-connecting-to-github-with-ssh/83113/2 "2023-12-30T13:17:02Z")

</div>

OK, found the the bug myself. The issue often sits in front of the screen.  
I used the wrong format to link to github via ssh .  
Go to -\>projects-\>projects settings-\>settings

and add the remote server repository as follows:  
Name of remote server repository : any useful name for you, e.g. "origin"  
URL : [git@github.com](mailto:git@github.com):"github-userid"/"Project-Name".git

I document this here in the hope it may help another newbie to github.

It may also help to have that format documented in the help in Node-Red Project Settings.

---

<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:** [13 January 2024 13:17 UTC](https://discourse.nodered.org/t/issue-connecting-to-github-with-ssh/83113/3 "2024-01-13T13:17:36Z")

</div>

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