From issues-return-38586-archive-asf-public=cust-asf.ponee.io@karaf.apache.org Tue Feb 6 08:28:06 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 16E91180657 for ; Tue, 6 Feb 2018 08:28:06 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 06ADF160C45; Tue, 6 Feb 2018 07:28:06 +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 4D5A5160C3A for ; Tue, 6 Feb 2018 08:28:05 +0100 (CET) Received: (qmail 30553 invoked by uid 500); 6 Feb 2018 07:28:04 -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 30542 invoked by uid 99); 6 Feb 2018 07:28:04 -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; Tue, 06 Feb 2018 07:28:04 +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 120901A08F0 for ; Tue, 6 Feb 2018 07:28:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -102.311 X-Spam-Level: X-Spam-Status: No, score=-102.311 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id Dw8EEzUsvrdX for ; Tue, 6 Feb 2018 07:28:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 5F2C15F181 for ; Tue, 6 Feb 2018 07:28:01 +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 B3A72E023D for ; Tue, 6 Feb 2018 07:28:00 +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 19E1F21E87 for ; Tue, 6 Feb 2018 07:28:00 +0000 (UTC) Date: Tue, 6 Feb 2018 07:28:00 +0000 (UTC) From: "Andre Schlegel (JIRA)" To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KARAF-3152) scp does not work under Windows MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KARAF-3152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16353503#comment-16353503 ] Andre Schlegel commented on KARAF-3152: --------------------------------------- Copy with scp to karaf 4.0.4 is no problem. But I can't browse the directories with Tools like WinSCP (Windows) or Cyperduck (Mac). > scp does not work under Windows > ------------------------------- > > Key: KARAF-3152 > URL: https://issues.apache.org/jira/browse/KARAF-3152 > Project: Karaf > Issue Type: Bug > Affects Versions: 2.3.4 > Environment: Win7 > Reporter: Martin Lichtin > Assignee: Guillaume Nodet > Priority: Major > > $ scp -P 8101 karaf@localhost:lock . > causes > {noformat} > Exception in thread "ScpCommand: [scp, -f, lock]" java.lang.IllegalArgumentException: The path is not relative to KARAF_BASE. Fo2014-08-08 18:05:59,585 | INFO | NioProcessor-2 | ChannelSession | hd.server.channel.ChannelSession 373 | 23 - org.apache.sshd.core - 0.8.0 | Executing command: scp -f lock > r security reason, it's not allowed. > at org.apache.karaf.shell.ssh.KarafFileSystemView.getFile(KarafFileSystemView.java:51) > at org.apache.karaf.shell.ssh.KarafFileSystemView.getFile(KarafFileSystemView.java:39) > at org.apache.sshd.server.command.ScpCommand.run(ScpCommand.java:212) > at java.lang.Thread.run(Thread.java:745) > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)