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

dotrc rishi.choudhary at gmail.com
Tue Jan 21 23:32:42 EST 2014


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.


More information about the rules-users mailing list