-
Bug
-
Resolution: Duplicate
-
Major
-
6.2.0
-
None
Description of problem:
Customerwant to clone git repository from their github to business central over ssh.
According to the following document,
https://help.github.com/articles/generating-ssh-keys/
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.
e.g.
$ 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/127.0.0.1:8080-5) 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,
https://help.github.com/articles/generating-ssh-keys/
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
ssh://git@github.com/jboss/BPMSrepository.git
Actual results:
cloning repository fails as passphrase is required
Expected results:
closing repository succeed
Additional info:
- is related to
-
RHBPMS-296 Business Central Repo Clone Fails To Clone SCP Style SSH URLs
- Verified
- relates to
-
RHBPMS-296 Business Central Repo Clone Fails To Clone SCP Style SSH URLs
- Verified