Deploying code from a Bitbucket control repo fails when the
r10k_remote parameter does not include
ssh:// at the beginning of the SSH URL.
Original exception: Failed to authenticate SSH session: Unable to send userauth-publickey request
Unable to determine current branches for Git source 'puppet' (/etc/puppetlabs/code-staging/environments) Original exception: Invalid credential type
These errors indicate that Code Manager is not able to connect to your Git repo.
Version and installation information
PE version: All supported
Installation type: Any
For Code Manager to pull code from your Bitbucket repos, the
r10k_remote parameter value must include
ssh:// at the beginning of the SSH URL, so that it matches the format of Bitbucket’s SSH URLs. For example: