Using two github accounts on the same machine
When dealing with multiple GitHub accounts on a single machine, managing SSH keys can get a bit tricky, but it's definitely manageable with a proper setup. Since ssh-add -l is showing the wrong GitHub user (or rather, the wrong SSH key for your current context), you'll want to set up SSH to use different keys for different GitHub accounts. Here’s how you can do that:
### 1. Generate a New SSH Key (if needed)
If you haven't already, generate a new SSH key for your second GitHub account. Skip this step if you've already generated a separate SSH key for each account.