When using bitbucket with forge, you have to follow this message in order to use bitbucket and forge
When using a custom Git deployment or Bitbucket, you must add the following SSH key to your source control provider before installing repositories:
The problem is this is not clear where do i put the ssh key, there's a million place in bitbucket that you could add a ssh key to so. so please can some one explain to me why when using bitbucket i need to add these ssh keys and where should i put them.
Some back story i was following a tutorial about deployment with forge and he used github and linked his repo with the forge Site, when i tried doing this using bitbucket it kept failing because the ssh of course it will fail, it need access to that repo by ssh. but how when using github you don't need ssh keys ?
You need to add ssh keys on your bitbucket account.
bitbucket account-> Settings->SSH Keys
Bitbucket Server administrators can set up SSH access keys to secure the Git operations that other systems perform on the repositories managed in Bitbucket Server.
Using access keys avoids the need to store user credentials on another system, and means that the other system doesn't have to use a specific user account in Bitbucket Server.
For example, access keys can be used to allow your build and deploy server to authenticate with Bitbucket Server to check out and test source code.
Reference:
https://confluence.atlassian.com/bitbucketserver/ssh-access-keys-for-system-use-776639781.html
I figured that out, but i really want to know what the use of these keys and why only when using bitbucket i need to add them and not github
@Mohammadhayajneh confluence.atlassian.com/bitbucket/…
i know its for authentication, but the thing is why github don't requires it and bitbucket does?
I do not know about git process but you can check my updated answer why bitbucket use SSH
Good answer, but the answer i'm looking for is why using github don't require ssh key? and if so how github are able to authenticate?