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 <[email protected]>: > 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
