karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Torsten Mielke (JIRA)" <j...@apache.org>
Subject [jira] Created: (KARAF-331) Failure to execute script against Karaf sshd.
Date Thu, 16 Dec 2010 14:24:01 GMT
Failure to execute script against Karaf sshd. 
----------------------------------------------

                 Key: KARAF-331
                 URL: https://issues.apache.org/jira/browse/KARAF-331
             Project: Karaf
          Issue Type: Bug
          Components: console
    Affects Versions: 2.1.1
         Environment: Karaf 2.1., sshd, ssh client.
            Reporter: Torsten Mielke


Starting up Karaf and connecting to it from an external shell using

$> ssh -t -t -p 8101 karaf@localhost < test1

results in various errors.

On karaf 2.1.99-SNAPSHOT I receive multiple  "Error executing command: / by zero"

On ServiceMix 4.3.0, some of the statements get executed but the connection gets closed before
all statements are run.


Things look slightly better when using Karaf's bin/client instead of ssh, however without
a shell:logout command at the end, the client uses 100% CPU. 
When using shell:logout as the last command bin/client returns correctly. 

The test1 script used reads:
echo "One" 
echo "Two" 
echo "Three" 
shell:logout




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message