# Github Multi Account **Published by:** [Sukey](https://paragraph.com/@sukey/) **Published on:** 2024-11-19 **URL:** https://paragraph.com/@sukey/github-multi-account ## Content Create ssh for github account:ssh-keygen -t rsa -b 4096 -C "account@example.com"Add account into ~/.ssh/configClone repogit clone git@github-first:username/repository.gitConfig github account:git config user.name "Your Name for Account"git config user.email "account@example.com"Check git ssh configuration whether it matches to ssh key:echo $GIT_SSH_COMMANDIf needed, change repo to SSH URL:git remote set-url origin git@github.com:xxx/xxxx.git ## Publication Information - [Sukey](https://paragraph.com/@sukey/): Publication homepage - [All Posts](https://paragraph.com/@sukey/): More posts from this publication - [RSS Feed](https://api.paragraph.com/blogs/rss/@sukey): Subscribe to updates