karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Nodet <gno...@apache.org>
Subject Re: SCP and SFTP not working
Date Thu, 05 Jan 2017 17:03:41 GMT
No, sftp and scp are fully supported by SSHD.
In 2.2.x, scp seems enabled, but not ftp:

https://github.com/apache/karaf/blob/karaf-2.2.x/shell/ssh/src/main/resources/OSGI-INF/blueprint/shell-ssh.xml#L86-L92

3.x has both scp and ftp enabled:

https://github.com/apache/karaf/blob/karaf-3.0.x/shell/ssh/src/main/resources/OSGI-INF/blueprint/shell-ssh.xml#L103-L120

2017-01-05 17:37 GMT+01:00 Achim Nierbeck <bcanhome@googlemail.com>:

> Hi,
>
> as Karaf uses Apache Mina, for it's SSH server you'll most likely need to
> take a look if it's even possible.
> AFAIK it's only a simple SSH server, so no extra functionality like sftp
> or scp are supported.
> If you want to have a full-blown SSH server you need to use the operating
> system supported ones.
>
> regards, Achim
>
>
> 2017-01-05 17:25 GMT+01:00 Charles <quadrupolic-mag@yahoo.com>:
>
>> Hi
>> I’m trying to verify if I’ve found an issue with the SFTP/SCP server
>> within Karaf, and in the inherited project Servicemix.  I use Camel to
>> perform many integrations, storing properties files within the /etc folder.
>> Ideally I’d like access to the /etc folder within Karaf to allow updates
>> to the configuration files by my build tooling.
>> Sadly I’ve not managed to get the SFTP / SCP faciility to work.  I’m
>> running Servicemix 4.5.3 (Karaf 2.2) on Java 1.6_45, on Windows primarily.
>> Any attempts to use SFTP via FTP client results in an error, or results in
>> a folder presented to the client, with a  name that’s actually a date,
>> which can’t be navigated.
>> Thinking this may be a platform issue I’ve tried it on later vanilla
>> Servicemix versions 6.0, 7.0 m2, and Karaf 4.  I’ve tried on those versions
>> on Linux, and using Java 7 & 8.  No combination results in filesystem
>> access.
>> Can anyone confirm this facility works under other Karaf versions or
>> environments?  Or am I doing something really dumb?
>> Thanks
>>
>
>
>
> --
>
> Apache Member
> Apache Karaf <http://karaf.apache.org/> Committer & PMC
> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
> Project Lead
> blog <http://notizblog.nierbeck.de/>
> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>
>
> Software Architect / Project Manager / Scrum Master
>
>


-- 
------------------------
Guillaume Nodet
------------------------
Red Hat, Open Source Integration

Email: gnodet@redhat.com
Web: http://fusesource.com
Blog: http://gnodet.blogspot.com/

Mime
View raw message