You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2011/01/25 15:27:45 UTC

[jira] Commented: (KARAF-331) Failure to execute script against Karaf sshd.

    [ https://issues.apache.org/jira/browse/KARAF-331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12986399#action_12986399 ] 

Guillaume Nodet commented on KARAF-331:
---------------------------------------

Backported to 2.0.x branch

> 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
>            Assignee: Guillaume Nodet
>             Fix For: 2.1.3, 2.2.0
>
>
> 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.