Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-68647

Jenkins Plugin ssh-agent could not ssh-add sucessfully a private key which is created as a jenkins credential ID

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • ssh-agent-plugin
    • Slave is windows 10. Private Key is ed25519.

      1. Create public and private keys.
        ssh-keygen -t ed25519 -C mymail@mail.com
        got 2 files: id_ed25519, id_ed25519.pub
      1. Add id_ed25519.pub to SSH Keys of git. 
      2. Create a credential ID.
      3. Use it for our Job and we could not visit git. 
      4.  As a hint, when we use git 2.36.1, it shows Permission denied (publickey). But when we use git 2.21.0, it shows invalid format for private key. 

            dnusbaum Devin Nusbaum
            fiann Fiann Feng
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: