Hello.
I have problem. ssh-key passphrase permission denied (using ansible)
ansible playbook :
- hosts: testnew
gather_facts: no
become: yes
tasks:
- name: Git update
git:
key_file: /root/.ssh/new_rsa
repo: git@bitbucket.org:Ads/ads.git
dest: /path/
accept_hostkey: yes
remote: origin
update: yes
version: feature/out
ignore_errors: yes
"msg": "Failed to download remote objects and refs: git@bitbucket.org: Permission denied (publickey).\r\nfatal: Could not read from remote repository.\n\nPlease make sure you have the correct access rights\nand the repository exists.\n"
I use ssh-agent
ssh-add asa_key
enter passphrase
Hi James,
I'm not really familiar with ansible, but I would need some additional info to better help you.
GIT_SSH_COMMAND="ssh -vvv" git clone <repo_url>
Kind regards,
Theodora
Hi @James ,
Welcome to Atlassian community!
Please find the below document for the Permission denied issue in Bitbucket.
Regards,
Sanjen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
and? Ansible don't checkout and pull. I read all documents
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @James
As per the permission denied issue related to that document.
Could your please explain more about it what you are looking now..?
Regards,
Sanjen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.