You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Andre Schlegel (JIRA)" <ji...@apache.org> on 2016/07/26 10:31:20 UTC

[jira] [Commented] (KARAF-3152) scp does not work under Windows

    [ https://issues.apache.org/jira/browse/KARAF-3152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15393596#comment-15393596 ] 

Andre Schlegel commented on KARAF-3152:
---------------------------------------

In the version 4.0.4 this problem still exists. I'm using a scp client. The connection could be established but I the only a root-folder. When I navigate my client crashes :(

No problem when karaf is runing unter linux.

> 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: Jean-Baptiste Onofré
>
> $ 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
(v6.3.4#6332)