Bug 1304616 - unable to clone git repository from github by ssh with ssh key+passphrase
unable to clone git repository from github by ssh with ssh key+passphrase
Product: JBoss BPMS Platform 6
Classification: JBoss
Component: Business Central (Show other bugs)
Unspecified Unspecified
high Severity unspecified
: ---
: ---
Assigned To: Alexandre Porcelli
Jan Hrcek
Depends On:
  Show dependency treegraph
Reported: 2016-02-04 03:07 EST by Hiroko Miura
Modified: 2016-03-07 08:09 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Hiroko Miura 2016-02-04 03:07:39 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 git@github.com
 $ git clone ssh://git@github.com/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/ Error during create repository: java.lang.RuntimeException: ssh://git@github.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://git@github.com:22: org.eclipse.jgit.transport.CredentialItem$StringTypeassphrase for /home/jboss/.ssh/id_rsa

Version-Release number of selected component (if applicable):
BxMS 6.2.0

How reproducible:
see below

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


Actual results:
cloning repository fails as passphrase is required

Expected results:
closing repository succeed

Additional info:
Comment 4 Alexandre Porcelli 2016-03-07 08:09:22 EST
Not: Passphrase will be supported on 6.3:


Note You need to log in before you can comment on or make changes to this bug.