# Git SSH-Key based authentication failes, if username contains "AT" character

**URL:** <https://discourse.nodered.org/t/git-ssh-key-based-authentication-failes-if-username-contains-at-character/53224>\
**Category:** General\
**Created:** [4 November 2021 17:48 UTC](https://discourse.nodered.org/t/git-ssh-key-based-authentication-failes-if-username-contains-at-character/53224 "2021-11-04T17:48:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![crackytsi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/crackytsi/32/28369_2.png) [@crackytsi](https://discourse.nodered.org/u/crackytsi)\
**Post date:** [4 November 2021 17:48 UTC](https://discourse.nodered.org/t/git-ssh-key-based-authentication-failes-if-username-contains-at-character/53224/1 "2021-11-04T17:48:07Z")

</div>

I have a header based authentication and the username contains the "@" character.  
After doing several debugging, it seems that the "@" char is the reason, which is used as name in the keyfile.  
It seems, that the key file can't be found.  
Storage is in  
`.node-red/projects/.sshkeys/<username>_keyname`

Can you help me to fix this issue?

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [4 November 2021 22:10 UTC](https://discourse.nodered.org/t/git-ssh-key-based-authentication-failes-if-username-contains-at-character/53224/2 "2021-11-04T22:10:00Z")

</div>

Sounds like there could be a bug. Can you raise an issue on GitHub so this can be investigated?

---

<div class="post-metadata">

**Author:** ![crackytsi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/crackytsi/32/28369_2.png) [@crackytsi](https://discourse.nodered.org/u/crackytsi)\
**Post date:** [5 November 2021 07:12 UTC](https://discourse.nodered.org/t/git-ssh-key-based-authentication-failes-if-username-contains-at-character/53224/3 "2021-11-05T07:12:39Z")

</div>

Thanks for your support, I opened [Git SSH-Key based authentication failes, if username contains "AT" character · Issue #3246 · node-red/node-red · GitHub](https://github.com/node-red/node-red/issues/3246)

---

<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:** [4 January 2022 07:13 UTC](https://discourse.nodered.org/t/git-ssh-key-based-authentication-failes-if-username-contains-at-character/53224/4 "2022-01-04T07:13:02Z")

</div>

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