Caution : Never share your Private SSH Key


Generate SSH Key:

From "local" machine create a SSH Key.

Instructions : https://www.atlassian.com/git/tutorials/git-ssh 


Copy SSH Key public:

in PowerShell (Windows Terminal)

cat $HOME\.ssh\id_rsa.pub | clip

or in Git Bash:

cat $HOME/.ssh/id_ed25519.pub | clip


Upload public SSH Key to Bitbucket:

  1. At Bitbucket GUI, select your avatar (Your profile and settings) from the navigation bar at the top of the screen and select Manage Account.
  2. Under Account, select SSH Keys or go to this link right away Your Bitbucket SSH Keys
  3. Select Add public key and paste your public key.


Clone repository with SSH:

On the Bitbucket repo page, one can select the SSH URL.



Clone repository on "local" machine

git clone ssh://git@euyam012.yme.yamaha-motor.eu/<your repository>


As of now one can use the git commands from either the command line or integrated in IDE without the need of username/password.

Caution : Never share your Private SSH Key