[
https://issues.apache.org/jira/browse/KARAF-5569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16328353#comment-16328353
]
ASF subversion and git services commented on KARAF-5569:
--------------------------------------------------------
Commit 0f91a095aba0a7abfe8e5f9fe174811a6826c11b in karaf's branch
refs/heads/master from clockard
[ https://gitbox.apache.org/repos/asf?p=karaf.git;h=0f91a09 ]
KARAF-5569 Add CommandFactory to ssh server when sftp is disabled
> Cannot pass commands to client script when sftpEnabled=false
> ------------------------------------------------------------
>
> Key: KARAF-5569
> URL: https://issues.apache.org/jira/browse/KARAF-5569
> Project: Karaf
> Issue Type: Bug
> Affects Versions: 4.1.4, 4.2.0
> Reporter: Christopher Lockard
> Assignee: Jean-Baptiste Onofré
> Priority: Major
> Fix For: 4.2.0, 4.1.5
>
>
> When sftpEnabed option is set to false in org.apache.karaf.shell.cfg the
> client script hangs if it was passed in a command to run. For example the
> following will hang:
> {code:java}
> bin/client list{code}
> The issue seems to be that when sftp is disabled the command factory is never
> set on the ssh server in
> shell/ssh/src/main/java/org/apache/karaf/shell/ssh/Activator.java resulting
> in a failure here
> https://github.com/apache/mina-sshd/blob/master/sshd-core/src/main/java/org/apache/sshd/server/channel/ChannelSession.java#L519
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)