Re: Aw: Re: Shell commands are unavailable #1

2017-01-05 Thread Achim Nierbeck
lder. Using "./start", followed by "./client", the commands >>>> "system:shutdown" and "logout" are working properly. >>>> >>>> Jens >>>> >>>> >>>&g

Re: Aw: Re: Shell commands are unavailable #1

2017-01-05 Thread Guillaume Nodet
I found the problem and I have a fix locally. Has a jira been raised already ? 2017-01-06 7:39 GMT+01:00 Jean-Baptiste Onofré : > That's a good point and actually, it's the real end-user usage of shell > (to install the wrapper without starting a Karaf instance). > > Let me take a look. > > Thank

Re: Aw: Re: Shell commands are unavailable #1

2017-01-05 Thread Jean-Baptiste Onofré
That's a good point and actually, it's the real end-user usage of shell (to install the wrapper without starting a Karaf instance). Let me take a look. Thanks, Regards JB On 01/06/2017 07:37 AM, Jens Offenbach wrote: Ok, I can live with that, but the command "shell wrapper:install --start-typ

Aw: Re: Shell commands are unavailable #1

2017-01-05 Thread Jens Offenbach
Ok, I can live with that, but the command "shell wrapper:install --start-type DEMAND_START" should work or has something been changed? Give it a try: $ shell wrapper:install --start-type DEMAND_START [org.apache.karaf.shell.impl.console.ConsoleSessionImpl] : completionMode property is not define

Re: Aw: Shell commands are unavailable #1

2017-01-05 Thread Jean-Baptiste Onofré
Hi Jens, shell doesn't really start a full Karaf instance, so, it's an expected behavior IMHO. Regards JB On 01/06/2017 06:50 AM, Jens Offenbach wrote: The problem seems to occur only when using the "shell" script from the "bin" folder. Using "./start", followed by "./client", the commands

Aw: Shell commands are unavailable #1

2017-01-05 Thread Jens Offenbach
The problem seems to occur only when using the "shell" script from the "bin" folder. Using "./start", followed by "./client", the commands "system:shutdown" and "logout" are working properly. Jens Gesendet: Freitag, 06. Januar 2017 um 06:43 Uhr Von: "Jens Offenbach" An: user@karaf.apache.org

Shell commands are unavailable

2017-01-05 Thread Jens Offenbach
Hi, I am using Apache Karaf 4.1.0-Snapshot and in the current snapshot release, there seems to be a problem regarding shell commands. I have opened the following issue: https://issues.apache.org/jira/browse/KARAF-4926. But things seem to be much more problematic. Even the "logout" command is rep

Re: SCP and SFTP not working

2017-01-05 Thread Achim Nierbeck
oh ... cool :) 2017-01-05 18:03 GMT+01:00 Guillaume Nodet : > 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 sc

Re: SCP and SFTP not working

2017-01-05 Thread Guillaume Nodet
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/

Re: SCP and SFTP not working

2017-01-05 Thread Achim Nierbeck
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

SCP and SFTP not working

2017-01-05 Thread Charles
HiI’m trying to verify if I’ve foundan 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 folderwithin Karaf to allow updates to the