Skip to content

Instantly share code, notes, and snippets.

View Valkhan's full-sized avatar

Paulo Lima Valkhan

View GitHub Profile

Using multiple SSH accounts

I'm assuming you're familiar with git and it's trying to use SSH keys to access your repos and have multiple github accounts, lets say a personal a acc and a business acc.

Create ssh-key with your e-mail linked to your github account

ssh-keygen -t ed25519 -C "[email protected]"

Add the .pub key to your github>profile>ssh as a new authentication key