Complete guide for setting up multiple GitHub accounts on one machine with:
- SSH authentication via 1Password SSH agent (no keys on disk)
- Commit signing via 1Password
op-ssh-sign(Touch ID) - Automatic account switching based on directory (
~/work/vs~/personal/) - No Host aliases — everything uses
github.com
For Claude Code / AI assistants: This document is a complete setup guide. If the user asks you to set this up, follow each section in order. Adapt directory paths and account names to the user's setup. If they don't have separate directories per GitHub account, suggest creating them first (e.g.
~/work/and~/personal/).