Support ed25519 SSH key in Pipeline

Issue #18058 open
Hong Quan Nguyen
created an issue

Currently, BitBucket only supports to add ed25519 SSH key to user account, not Pipeline. This is needed to help a deployment tool (like Ansible) running in Pipeline access to server (via SSH).

Comments (5)

  1. Aneita Yang staff

    Hi @Hong Quan Nguyen,

    Thanks for reaching out. Can you clarify whether you've having issues adding SSH keys (in general) to Pipelines or having issues adding ed25519 keys in particular?

    If it's the latter, can you let me know what issue or error message your running into when you try to add the key?

    Thanks,
    Aneita

  2. Hong Quan Nguyen reporter
    • changed status to open

    @Aneita Yang After I replace RSA key with ed25519 key in Pipeline, it now fails to run my Ansible playbook:

    https://bitbucket.org/hongquan/talk-customize-linux-embedded/addon/pipelines/home#!/results/7

    As you can see this in the log:

    Failed to connect to the host via ssh: Warning: Permanently added the RSA host key for IP address '103.92.28.225' to the list of known hosts.\r\nLoad key \"/opt/atlassian/pipelines/agent/ssh/id_rsa
    

    the path of the key file is weird. This key is not RSA but the path created by Pipeline is RSA.

  3. Log in to comment