Drools 6.0.1: Pushing changes back to Workbench GIT using SSH

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Drools 6.0.1: Pushing changes back to Workbench GIT using SSH

dotrc
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

Reply | Threaded
Open this post in threaded view
|

Re: Drools 6.0.1: Pushing changes back to Workbench GIT using SSH

mfalaize
I have the same problem... What's going wrong ? Can anyone help ?

dotrc 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
Reply | Threaded
Open this post in threaded view
|

Re: [rules-users] Drools 6.0.1: Pushing changes back to Workbench GIT using SSH

Alexandre Porcelli
In reply to this post by dotrc
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)

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

On Jan 21, 2014, at 11:32 PM, dotrc <[hidden email]> 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
> [hidden email]
> https://lists.jboss.org/mailman/listinfo/rules-users





_______________________________________________
rules-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/rules-users
Reply | Threaded
Open this post in threaded view
|

Re: [rules-users] Drools 6.0.1: Pushing changes back to Workbench GIT using SSH

mfalaize
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 ?

Thanks


2014-04-07 19:27 GMT+02:00 Alexandre Porcelli <[hidden email]>:
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)

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

On Jan 21, 2014, at 11:32 PM, dotrc <[hidden email]> 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
> [hidden email]
> https://lists.jboss.org/mailman/listinfo/rules-users





_______________________________________________
rules-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/rules-users



--
Maxime FALAIZE

_______________________________________________
rules-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/rules-users
Reply | Threaded
Open this post in threaded view
|

Re: [rules-users] Drools 6.0.1: Pushing changes back to Workbench GIT using SSH

mfalaize
Can anyone give me a solution please ?
_______________________________________________
rules-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/rules-users
Reply | Threaded
Open this post in threaded view
|

Re: [rules-users] Drools 6.0.1: Pushing changes back to Workbench GIT using SSH

llpcsd
Hi:
do u get the problem resolved?
I met the same problem:<

the git cer infomation from the drools's doc is so poor, Help
thank u
Reply | Threaded
Open this post in threaded view
|

Re: [rules-users] Drools 6.0.1: Pushing changes back to Workbench GIT using SSH

ketan.jariwala
This post was updated on .
Still , i am facing same issue. how to clone and push drools workbench data using git ssh. I have tried the above solution. but still it is not working.