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

Cannot configure password for ssh-key used for git remote

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Cannot use a git repository with ssh, if the key is password-protected.

      Example:

      $# Set password for ssh key:
      $ ssh-keygen -p -f ~/.ssh/id_rsa
      Key has comment '/var/lib/jenkins/.ssh/id_rsa'
      Enter new passphrase (empty for no passphrase): ***
      Enter same passphrase again: ***
      Your identification has been saved with the new passphrase.
      
      $git remote -v
      origin ssh://git@git.server/repo (fetch)
      origin ssh://git@git.server/repo (push)
      
      

      Trying to save any config change:

      SCM Sync status :  
      Wed Jan 27 17:22:04 CET 2016 : Error while checking in file to scm repository
      
      

      In log:

      SEVERE: [checkinFiles] Problem during SCM commit : Permission denied (publickey).
      fatal: Could not read from remote repository.
      

        Attachments

          Issue Links

            Activity

            Hide
            agallardo Alberto Gallardo added a comment -

            This issue could be presumibly solved if #18129 were implemented?

            Show
            agallardo Alberto Gallardo added a comment - This issue could be presumibly solved if #18129 were implemented?

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              agallardo Alberto Gallardo
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: