TextMate, SSH and github
TextMate is a flexible Mac OS X text editor,2026TextMate 2 went open source in 2012. it has everything I need, but some days ago I found that it can't prompt me for my password when needed (like when I want to push my changes to github) and that's not cool.
Fortunately, github uses ssh keys2026Still true, and now it's SSH or a token, nothing else. GitHub dropped password auth for git in August 2021, stopped accepting RSA signatures made with SHA-1 in 2022 and rotated its RSA host key in March 2023 (if ssh suddenly complains about a changed host key, that's why). and with SSHKeychainarchived2026The old sshkeychain.org domain now redirects to a hotel spam site, so this link goes to the 2008 snapshot on the Wayback Machine instead. installed you can forget about passwords and it helps TextMate to pull and push to github (or any other server) without pubkey authentication errors. Now that's cool.
2026 · How I'd do this today
Create a modern key and let macOS store the passphrase in the Keychain:
ssh-keygen -t ed25519 -C "you@example.com"
ssh-add --apple-use-keychain ~/.ssh/id_ed25519
Then in ~/.ssh/config:
Host github.com
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/id_ed25519