Hi,
I'm experimenting with SCM manager to see if it can replace our somewhat home-grown combination of HTTP and SSH mercurial server.
It looks good at first glance, but I don't seem to be able to get SSH access working. Whenever I try to access the server via an SSH URL, I get
abort: no suitable response from remote hg
from mercurial and the following in the server logs:
2022-11-13 14:35:49.928 [sshd-ScmSshCommand-thread-1] [ ] ERROR com.cloudogu.scm.ssh.command.ScmCommand - received error during handling of command hg -R scm/repo/seb/test-repo serve --stdio
java.lang.IllegalArgumentException: no interpreter found for command: hg -R scm/repo/seb/test-repo serve --stdio
at com.cloudogu.scm.ssh.command.ScmCommand.run(ScmCommand.java:99)
at org.apache.sshd.server.command.AbstractCommandSupport.lambda$start$0(AbstractCommandSupport.java:159)
at org.apache.shiro.subject.support.SubjectRunnable.doRun(SubjectRunnable.java:120)
at org.apache.shiro.subject.support.SubjectRunnable.run(SubjectRunnable.java:108)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Any ideas?
Cheers,
Seb