I created a second user account on my computer, when I was releasing an app under a different developer account, as I understood this was preferable in terms of keys for the certificates.
However, now when I wish to implement source control with Github in my apps on the second account, I’m having difficulty, I suspect because the SSH key was generated with my normal account.
Has anybody else faced this situation, advice? Am I supposed to create another SSH key or something?
You should create one ssh key per user per computer. You can easily add multiple keys to your github account.
Just do
ssh-keygen, follow the prompts, thencat ~/.ssh/id_rsa.puband copy the result into github on the account preferences page under SSH keys.If you don’t know the location of the file, enter
~/.ssh/id_rsafor your private key and~/.ssh/id_rsa.pubfor your public key.