From issues-return-38585-archive-asf-public=cust-asf.ponee.io@karaf.apache.org Mon Feb 5 20:45:05 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 2994A180677 for ; Mon, 5 Feb 2018 20:45:05 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 19685160C3B; Mon, 5 Feb 2018 19:45:05 +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 46826160C5A for ; Mon, 5 Feb 2018 20:45:04 +0100 (CET) Received: (qmail 7700 invoked by uid 500); 5 Feb 2018 19:45:03 -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 7642 invoked by uid 99); 5 Feb 2018 19:45:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Feb 2018 19:45:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id DF174C00D7 for ; Mon, 5 Feb 2018 19:45:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.511 X-Spam-Level: X-Spam-Status: No, score=-109.511 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id WbjVi9ZmsW0R for ; Mon, 5 Feb 2018 19:45:02 +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 64C5B5FBA2 for ; Mon, 5 Feb 2018 19:45: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 96861E031C for ; Mon, 5 Feb 2018 19:45: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 4BD8221E87 for ; Mon, 5 Feb 2018 19:45:00 +0000 (UTC) Date: Mon, 5 Feb 2018 19:45:00 +0000 (UTC) From: "Guillaume Nodet (JIRA)" To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (KARAF-3152) scp does not work under Windows 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-3152?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1635= 2827#comment-16352827 ]=20 Guillaume Nodet edited comment on KARAF-3152 at 2/5/18 7:44 PM: ---------------------------------------------------------------- Connecting to a karaf 4.0.9 instance running on Windows: {code} gnodet=E2=80=A2~/tmp=C2=BB scp -P 8101 karaf@192.168.1.58:deploy/README . = = Warning: Permanently added '[192.168.1.58]:8101' (RSA) to the list of known= hosts. Password authentication Password:=20 README 100% 874 489.= 4KB/s 00:00 =20 {code} was (Author: gnt): Connecting to a karaf 4.0.9 instance running on Windows: {code} gnodet=E2=80=A2~/tmp=C2=BB scp -P 8101 karaf@192.168.1.58:deploy/README . = = [20:32:25] Warning: Permanently added '[192.168.1.58]:8101' (RSA) to the list of known= hosts. Password authentication Password:=20 README = 100% 874 489.4KB/s 00:00 =20 {code} > 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.IllegalArgume= ntException: 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. > =09at org.apache.karaf.shell.ssh.KarafFileSystemView.getFile(KarafFileSys= temView.java:51) > =09at org.apache.karaf.shell.ssh.KarafFileSystemView.getFile(KarafFileSys= temView.java:39) > =09at org.apache.sshd.server.command.ScpCommand.run(ScpCommand.java:212) > =09at java.lang.Thread.run(Thread.java:745) > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)