While OpenSSH has the option to generate a key that doesn’t require a tap, Bitbucket Data Center doesn’t support such keys. Do I have to tap the key every time I perform a Git operation? Contact the administrator about the issue. If you receive the Permission denied (Public Key) error while performing a Git command with a registered key, the mirror you’re using might not have been updated to version 8.13. I generated and registered an SSH key but can’t perform Git operations using it via the mirror
You don’t have a large number of generated keys. The user presence is confirmed while performing the Git command. The most common reason for seeing the Permission denied (Public Key) error is that the key is simply not being used to perform the authentication. I receive an error while performing Git operations with these keys.
> Enter same passphrase again: Īfter the SSH key has been generated successfully, you can copy the public key and register it with Bitbucket Data Center like any other SSH key, following the instructions:įind answers to frequently asked questions about the generation of security key based SSH keys. > Enter passphrase (empty for no passphrase): You can choose between Yubikey, Nitrokey, Solokey, etc. You need a compatible hardware authenticator to back the new SSH key. Otherwise, you won’t be able to use the key you registered on an upstream for Git SSH operations via the mirror. If your environment consists of mirrors, they must be updated to this version too. Bitbucket Data Centerīitbucket Data Center supports the use of security key based SSH keys since version 8.13. To generate an SSH key backed by a hardware authenticator, you need to have a version of OpenSSH later than 8.2p1. Before you startīefore generating a security key based SSH key, make sure you meet the following pre-requisites. You tap the hardware authenticator when you need to perform a Git operation, which provides evidence of user presence. SSH keys for hardware authenticators are a safer alternative to traditional SSH keys and protect you from accidental private key exposure or theft.