Closed szaluzhskiy closed 3 years ago
I foolowed doc chapter Add local model to Workspace
Hello @szaluzhskiy,
I use to work with HTTPS, but after a short try on my github repository, it seems to work fine. I previously add my generate private key on Github to authorize SSH handshake between Archi(c) and github. From a terminal console, have you tried a simple "git clone git@github.com:waacot/archi-test1.git" on a temporary directory. Of course replace : git@github.com:waacot/archi-test1.git by your own git repo ;-) Regards, Laurent
@waacot Yes, I try to check out git repo to local folder and then "Add Local model to workspace and Publish".
Btw I did a check with GitHub repository and result is the same, I mean same error in Archi.
Make sure you follow the instructions here when setting up SSH:
https://github.com/archimatetool/archi-modelrepository-plugin/wiki/SSH-Authentication
Looks like my GIT repository (corporative one), does not support PEM keys. Is it possible to use RSA key pair like this?
ssh-keygen -t rsa -b 2048
Is it possible to use RSA key pair like this?
I don't know, did you try? coArchi uses the JSch SSH library which is quite old:
For coArchi 2 we might consider using the Apache Mina SSHD library which I think supports more SSH key types. Needs more investigation.
Might be some useful info here - https://stackoverflow.com/questions/53134212/invalid-privatekey-when-using-jsch
If configure key with instruction - https://github.com/archimatetool/archi-modelrepository-plugin/wiki/SSH-Authentication then it's working. You can close the issue. Thanks for support!
You can close the issue.
Version of Archi, Operating System
Version 4.7.1 Build 202007151058 Windows 10
Version of this plug-in
0.6.2.202004031233
Any other plug-ins installed?
no
Expected Behaviour
Create model locally. Call Add local model to Workspace and publish Then publish model
Actual Behaviour
Error invalid privatekey
Steps to Reproduce the Behaviour
I was trying to change key via configuration... but this does not help