Details
Description
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:
bin/client list
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
Attachments
Issue Links
- links to