Github, haiku and two factor authentication

AFAIK, it’s not mandatory two factor authentication. You won’t be able to use nickname/password, but can still log in via ssh and uploaded keys.

  • Log into https://github.com and go to Settings | SSH aand GPG keys
  • If you haven’t already, add your public key from ~/config/settings/ssh/id_rsa.pub

From now on, don’t clone with the HTTPS url, like git clone https://github.com/humdingerb/Clipdinger.git but over SSH:

git clone git@github.com:humdingerb/clipdinger

When done for the first time, you’re requested to add github to your ‘known_hosts’ file.

Repos you already checked out via HTTPS can be migrated to SSH with:

git remote set-url origin git@github.com:humdingerb/Clipdinger

(possibly replace ‘origin’ with how you named your forked remote repo)