I have accounts on Butbucket and Github with same email address, but usernames are different. Should I generate the SSH keys or is there any easier guide to serve both plattform without problem?
I've tried this guide, but it didn't work for me. https://gist.github.com/rosswd/e1afd2b0b0d515517eac
If you are using SSH URLs, as your guide suggests, the username does not matter.
(It would matter for HTTPS URLs).
What matters is:
That is how those respective remote Git repository hosting services (GitHub, Bitbucket Cloud) will know who you are.
That means you need to create two set of SSH keys:
Don't forget to use the actual
~/.ssh/configHostentries for your SSH URLs: