If a new SSH key pair is generated for the configured repository, do the following steps:
-
Go to Manage git repositories page ➜ Edit repository settings.
-
Change the SSH key fields (highlighted below) with the updated values.
3. Click Update at the bottom of the page to save the settings.