1

I have a need to sync my Drools workbench with Git repository. Are there any steps to do it. The Drools workbench is running on a linux machine.

I'm running 3 shell scripts written by someone else but

spawn git clone ssh://username@localhost:8001/MySpace/reponame is not executing.

Abhijit
  • 25
  • 5

1 Answers1

1

You will need a bit more than "not executing" to debug this.

Try at least a ssh -Tv username@localhost:8001 to check if SSH is working.

Consider also using a simple local path if you are cloning a repository which is already on your localhost (local machine):

git clone /MySpace/reponame 

If you are using a Docker image, see this thread

it's not related to the docker container itself, it just should do the "bridge" between container and hosts ports.

If not, check if, as in here, you need a:

git config core.sshCommand "ssh -oHostKeyAlgorithms=+ssh-dss"
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
  • Thanks a lot for your help! I tried sh -Tv username@localhost:8001 and got ssh: Could not resolve hostname localhost:8001: Name or service not known – Abhijit Jan 18 '23 at 12:53
  • @Abhijit That would explain why the `git clone ssh://username@localhost:8001/...` is not running. Do you have any documentation on Drools workbench which would explain the prerequisites? Like "ssh daemon" should be running? – VonC Jan 18 '23 at 12:58