---
title: "Discussion on \"Setting up Github SSH key and how to use multiple Github accounts on the same computer.\" | Hashnode"
description: "Discussion on \"Setting up Github SSH key and how to use multiple Github accounts on the same computer.\". Step 1: Generate SSH Key\n\nOpen a terminal or command prompt on your computer.\n\nExecute the following command to generate an SSH key pair:\n\n\nssh-keygen -t rsa -C \"main_email_@example.com\"\n\n\nYou'll be prompted to enter a file name to save the key. Spec..."
url: "https://hashnode.com/posts/setting-up-github-ssh-key-and-how-to-use-multiple-github-accounts-on-the-same-computer/64751142c11fe31402bf182e"
---

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

Discussion

# [Setting up Github SSH key and how to use multiple Github accounts on the same computer.](https://sizar.hashnode.dev/setting-up-github-ssh-key-and-how-to-use-multiple-github-accounts-on-the-same-computer?utm_source=hashnode&utm_medium=feed)

Step 1: Generate SSH Key Open a terminal or command prompt on your computer. Execute the following command to generate an SSH key pair: ssh-keygen -t rsa -C "main\_email\_@example.com" You'll be prompted to enter a file name to save the key. Spec...

May 29, 2023 · 3 min read · sizar.hashnode.dev  
Read the article

-   [#github](https://hashnode.com/tag/github)
-   [#git](https://hashnode.com/tag/git)
-   [#ssh-keys](https://hashnode.com/tag/ssh-keys)
-   [#ssh-git](https://hashnode.com/tag/ssh-git)
-   [#multiple-github-accounts](https://hashnode.com/tag/multiple-github-accounts)

## Written by

[sizar corpse](https://hashnode.com/@sizarcorpse)

@sizarcorpse

  
[View profile](https://hashnode.com/@sizarcorpse)

Hi, I'm a front-end web developer with a focus on JavaScript and a passion for building interactive and user-friendly web applications.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
