News for hackers. Stuff that matters.
Re:Show HN: Karn – Manage multiple Git identities by mrdrozdov on Thursday April 30, 2015 @09:44AM (#9464978)
Does this handle management of SSH keys?
Re:Show HN: Karn – Manage multiple Git identities by hliyan on Thursday April 30, 2015 @10:05AM (#9465105)
I already do this with a simple shell script:

  if [ $1 == "home" ]; then
        ssh-add -D
        ssh-add ~/.ssh/id_rsa_home
        ssh -T git@github-home
        exit;
  fi
where in ~/.ssh/config:

  Host github-home
    HostName github.com
    User git
    IdentityFile ~/.ssh/id_rsa_home
    IdentitiesOnly yes
Re:Show HN: Karn – Manage multiple Git identities by cies on Thursday April 30, 2015 @10:46AM (#9465356)
I also have stuff like this lying around. Please don't tell Github because I seem to remember it is against their policy.

:)

Re:Show HN: Karn – Manage multiple Git identities by hliyan on Thursday April 30, 2015 @11:33AM (#9465684)
Actually they're okay with it. I checked with them about how to do this and they recommended a single account instead. When I said I needed to keep my corporate and personal accounts separate for policy reasons, they were fine with it.
Re:Show HN: Karn – Manage multiple Git identities by prydonius on Thursday April 30, 2015 @01:18PM (#9466333)
The focus of karn right now is to manage repository-level configuration.

I think setting up different hosts in SSH config is a better way to manage SSH keys.

Re:Show HN: Karn – Manage multiple Git identities by kbody on Thursday April 30, 2015 @10:14AM (#9465161)
I was hoping that as well, that's the main challenge with multiple identities, but it seems it's not included on karn :(