---
title: "Discussion on \"How to use different ssh credentials for GitHub for the same Linux user\" | Hashnode"
description: "Discussion on \"How to use different ssh credentials for GitHub for the same Linux user\". If you have multiple GitHub users, setting up ssh key can become tricky. You cannot add the same, default key to 2 users. You need to set up your machine to use different keys depending on which identity you want to use. This article will show how to..."
url: "https://hashnode.com/posts/how-to-use-different-ssh-credentials-for-github-for-the-same-linux-user/60fbce5e18fbbb77c94651eb"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to use different ssh credentials for GitHub for the same Linux user](https://how-to.dev/how-to-use-different-ssh-credentials-for-github-for-the-same-linux-user?utm_source=hashnode&utm_medium=feed)

If you have multiple GitHub users, setting up ssh key can become tricky. You cannot add the same, default key to 2 users. You need to set up your machine to use different keys depending on which identity you want to use. This article will show how to...

Jul 24, 2021 · 2 min read · how-to.dev  
Read the article

-   [#ssh](https://hashnode.com/tag/ssh)
-   [#github](https://hashnode.com/tag/github)
-   [#cli](https://hashnode.com/tag/cli)

## Written by

[Marcin Wosinek](https://hashnode.com/@marcin-wosinek)

@marcin-wosinek · Valencia, Spain

  
[View profile](https://hashnode.com/@marcin-wosinek)

JavaScript developer

I'm JS developer with 13 years of professional experience. I'm always happy to teach my craft.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
