Multiple GitHub accounts [message #1850670] |
Sun, 13 March 2022 21:40 |
Sam Hobbs Messages: 20 Registered: July 2010 |
Junior Member |
|
|
Should I be able to use Eclipse with projects from different GitHub accounts? Can I do that in the same workspace? Do I use a different SSH key for each GitHub account?
I have the SamHobbsOrg account for my Sam Hobbs's Web Site for non-technical content. I used Eclipse to create (convert to) that website as it currently exists. I am using SSH for the security.
I have the SimpleSamples account for technical content, hosted by WinHost. I want to use Eclipse to also convert that to a GitHub Pages site and use that for SimpleSamples.
Using Eclipse (actually Egit, right?) I cloned SimpleSamples/simplesamples.github.io. As best as I can see, I replaced everything for the other repository with this repository; the account, the repository name, the SSH key and all I can see. I have created a SSH key and stored that in GitHub. When I try to push a change I get:
The SSH keys for each account are different but I am not sure how they are stored locally. Locally they are both stored in:
and that concerns me. In Window | Preferences in General | Network Connections | SSH2 the Private Keys are:
Since id_rsa is repeated that is suspicious.
I have made some changes and now when I try to push it says it cannot connect to any repository.
[Updated on: Sun, 13 March 2022 21:55] Report message to a moderator
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04382 seconds