Red Hat Bugzilla – Bug 1304616
unable to clone git repository from github by ssh with ssh key+passphrase
Last modified: 2016-03-07 08:09:22 EST
Description of problem:
Customerwant to clone git repository from their github to business central over ssh.
According to the following document,
They configured ssh key with passphrase for his github account.
They then confirmed that git clone from this github to local file system works without inputting passphrase.
$ ssh -T email@example.com
$ git clone ssh://firstname.lastname@example.org/jboss/BPMSrepository.git
But when trying to clone it from this github on business central with above ssh url, it fails with the exception something like the following.
ERROR [org.guvnor.structure.backend.repositories.RepositoryServiceImpl] (http-localhost.localdomain/127.0.0.1:8080-5) Error during create repository: java.lang.RuntimeException: ssh://email@example.com:22: org.eclipse.jgit.transport.CredentialItem$StringTypeassphrase for /home/jboss/.ssh/id_rsa
Caused by: java.lang.RuntimeException: org.eclipse.jgit.errors.UnsupportedCredentialItem: ssh://firstname.lastname@example.org:22: org.eclipse.jgit.transport.CredentialItem$StringTypeassphrase for /home/jboss/.ssh/id_rsa
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. According to the following document,
setup ssh key with passphrase and upload public key to your gut hub account
2. login business central and then create repository via
Authoring -> Administration -> Repositories -> clone repository
with the url something like
cloning repository fails as passphrase is required
closing repository succeed
Not: Passphrase will be supported on 6.3: