From issues-return-38329-archive-asf-public=cust-asf.ponee.io@karaf.apache.org Wed Jan 17 07:55:09 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 5FB4E18062C for ; Wed, 17 Jan 2018 07:55:09 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 4FA64160C47; Wed, 17 Jan 2018 06:55:09 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9F3E6160C1B for ; Wed, 17 Jan 2018 07:55:08 +0100 (CET) Received: (qmail 59472 invoked by uid 500); 17 Jan 2018 06:55:07 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 59455 invoked by uid 99); 17 Jan 2018 06:55:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jan 2018 06:55:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 23BB21A38DC for ; Wed, 17 Jan 2018 06:55:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.911 X-Spam-Level: X-Spam-Status: No, score=-99.911 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id DL-scABvFEuL for ; Wed, 17 Jan 2018 06:55:03 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 100975FAEF for ; Wed, 17 Jan 2018 06:55:03 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id DE4A8E258E for ; Wed, 17 Jan 2018 06:55:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 152012130D for ; Wed, 17 Jan 2018 06:55:01 +0000 (UTC) Date: Wed, 17 Jan 2018 06:55:01 +0000 (UTC) From: =?utf-8?Q?Jean-Baptiste_Onofr=C3=A9_=28JIRA=29?= To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (KARAF-5569) Cannot pass commands to client script when sftpEnabled=false MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KARAF-5569?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Baptiste Onofr=C3=A9 resolved KARAF-5569. ----------------------------------------- Resolution: Fixed > Cannot pass commands to client script when sftpEnabled=3Dfalse > ------------------------------------------------------------ > > 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=C3=A9 > Priority: Major > Fix For: 4.2.0, 4.1.5 > > > When sftpEnabed option is set to false in=C2=A0org.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 n= ever set on the ssh server in shell/ssh/src/main/java/org/apache/karaf/shel= l/ssh/Activator.java resulting in a failure here=C2=A0https://github.com/ap= ache/mina-sshd/blob/master/sshd-core/src/main/java/org/apache/sshd/server/c= hannel/ChannelSession.java#L519 -- This message was sent by Atlassian JIRA (v7.6.3#76005)