karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Nodet (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (KARAF-3152) scp does not work under Windows
Date Mon, 05 Feb 2018 19:44:00 GMT

     [ https://issues.apache.org/jira/browse/KARAF-3152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Guillaume Nodet resolved KARAF-3152.
------------------------------------
    Resolution: Cannot Reproduce
      Assignee: Guillaume Nodet  (was: Jean-Baptiste Onofré)

Connecting to a karaf 4.0.9 instance running on Windows:
{code}
gnodet•~/tmp» 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: 
README                                                                                   
                        100%  874   489.4KB/s   00:00    
{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.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)

Mime
View raw message