I've tried to generate a public/private key pair and put the public one into the .security folder but it still doesn't work. Can you explain what I have to do exactly ?


2014-04-07 19:27 GMT+02:00 Alexandre Porcelli <porcelli@redhat.com>:
Hi Rishi,

 The SSH server public key info for workbench is stored into .security folder (more info about it here: http://docs.jboss.org/drools/release/6.0.1.Final/drools-docs/html/wb.Workbench.html#wb.systemProperties)

Alexandre Porcelli
Principal Software Engineer
Red Hat Business Systems and Intelligence Group

On Jan 21, 2014, at 11:32 PM, dotrc <rishi.choudhary@gmail.com> wrote:

> I am using workbench for managing my rules maven projects within the embedded
> GIT repository. I am aware that using git:// protocol, I can clone an
> existing rule repository; I can do this successfully.
> For authoring rules, I want to use Eclipse (using EGit). I want to push my
> commits back to the GIT repo. I understand that I'll have to use ssh
> protocol instead of git for specifying the repo, something like this:
> ssh://{userName}@localhost:8001/{repoName}
> When we use a standard GIT repo like stash, it gives us an option to set our
> public key on the stash server, but I'm not able to find a way to do that
> with the embedded ssh server within workbench. Hence, I'm not able to
> authenticate myself and perform a push.
> We tried creating a private-public key pair using ssh-keygen and put that
> within c:\users\<username>\.ssh and added the public key to
> 'authorized_keys(2) (though I know this may not be the right place) and then
> used the private key as the identity file with ssh client directly from
> cygwin, again to no avail.
> Any pointers will be really appreciated.
> Also, should the username be 'admin' or any other specific one for pushing?
> Will the existing Windows username work?
> Thanks,
> Rishi
> --
> View this message in context: http://drools.46999.n3.nabble.com/Drools-6-0-1-Pushing-changes-back-to-Workbench-GIT-using-SSH-tp4027800.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users

rules-users mailing list