If you need to remain anonymous while contributing to Net2Share projects, follow these steps to protect your identity.
Create a dedicated GitHub account for contributing to these projects. Use a pseudonym and avoid linking it to your real identity.
Generate a new SSH key for your anonymous identity:
ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519_anonAdd this key to your anonymous GitHub account at github.com/settings/keys.
Add the following to your ~/.ssh/config file to use different keys for different identities:
Host github
HostName github.com
User git
IdentityFile ~/.ssh/id_ed25519
Host anongit
HostName github.com
User git
IdentityFile ~/.ssh/id_ed25519_anon
When cloning repositories, use your anonymous alias:
git clone git@anongit:net2share/dnstm.gitInstead of the standard URL:
git clone [email protected]:net2share/dnstm.gitUpdate the remote URL to use your anonymous alias:
git remote set-url origin git@anongit:net2share/dnstm.gitIn each cloned repository, set your anonymous identity:
git config user.name "yourpseudonym"
git config user.email "[email protected]"Go to github.com/settings/emails on your anonymous account and enable:
- "Keep my email addresses private" — Uses your noreply email in web-based operations
- "Block command line pushes that expose my email" — Prevents accidental exposure of other email addresses
Your noreply email address is displayed on this page in the format: [email protected]
By using a separate SSH host alias and per-repository git config:
- You never accidentally commit with your real identity
- Push/pull operations always use the correct SSH key
- Each repository is isolated to use only your anonymous credentials
This setup ensures your contributions remain private and unlinked to your primary GitHub account.