SSH access not working

31 views
Skip to first unread message

Sebastian Unger

unread,
Nov 12, 2022, 8:39:20 PM11/12/22
to scmmanager
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

Christoph Loose

unread,
Nov 15, 2022, 7:24:33 AM11/15/22
to scmmanager
Hi Seb,

thank you for your post. We will have a look at it and will come back with a first feedback soon!

Best,
Christoph

Eduard Heimbuch

unread,
Nov 15, 2022, 8:17:27 PM11/15/22
to scmmanager
Hey Sebastian,

officially the SSH Plugin only supports Git (yet). We will take this topic as a new feature request and discuss it in our team.


Regards, Eduard

Reply all
Reply to author
Forward
0 new messages