# Git node push operations can' t be authenticated with ssh key

**URL:** <https://community.n8n.io/t/git-node-push-operations-can-t-be-authenticated-with-ssh-key/9730>\
**Category:** Nodes\
**Tags:** node\
**Created:** [Décembre 7, 2021, 3:42 UTC](https://community.n8n.io/t/git-node-push-operations-can-t-be-authenticated-with-ssh-key/9730 "2021-12-07T15:42:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![meow](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/meow/32/8907_2.png) [@meow](https://community.n8n.io/u/meow)\
**Post date:** [Décembre 7, 2021, 3:42 UTC](https://community.n8n.io/t/git-node-push-operations-can-t-be-authenticated-with-ssh-key/9730/1 "2021-12-07T15:42:59Z")

</div>

Now it seems that only username and password can be used for authentication in Git node. I hope you can add the ssh key authentication method to Git node. Thank you very much.

---

<div class="post-metadata">

**Author:** ![RicardoE105](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/ricardoe105/32/550_2.png) [@RicardoE105](https://community.n8n.io/u/RicardoE105)\
**Post date:** [Décembre 7, 2021, 4:22 UTC](https://community.n8n.io/t/git-node-push-operations-can-t-be-authenticated-with-ssh-key/9730/2 "2021-12-07T16:22:00Z")

</div>

Welcome to the community @meow

Make sure you upvote the feature request.

---

<div class="post-metadata">

**Author:** ![jan](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jan/32/9_2.png) [@jan](https://community.n8n.io/u/jan)\
**Post date:** [Décembre 7, 2021, 4:27 UTC](https://community.n8n.io/t/git-node-push-operations-can-t-be-authenticated-with-ssh-key/9730/3 "2021-12-07T16:27:35Z")

</div>

Was qutie a while since I created that but if I remember correctly was not possibly doing it via Node.js. What I think you can do, is to mount your `.ssh` to the user that runs n8n. As it is just a wrapper around “git”, will it then use it and work then fine without authentication. But again was quite a while ago… Sadly have not time right now to check it myself.

---

<div class="post-metadata">

**Author:** ![meow](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/meow/32/8907_2.png) [@meow](https://community.n8n.io/u/meow)\
**Post date:** [Décembre 8, 2021, 7:20 UTC](https://community.n8n.io/t/git-node-push-operations-can-t-be-authenticated-with-ssh-key/9730/4 "2021-12-08T07:20:30Z")

</div>

Thank you very much, this works fine.

---

<div class="post-metadata">

**Author:** ![jan](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jan/32/9_2.png) [@jan](https://community.n8n.io/u/jan)\
**Post date:** [Décembre 8, 2021, 9:55 UTC](https://community.n8n.io/t/git-node-push-operations-can-t-be-authenticated-with-ssh-key/9730/5 "2021-12-08T09:55:14Z")

</div>

Glad to hear and thanks for confirming!
