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

Lukas Roedl edited comment on KARAF-5916 at 9/27/18 6:21 PM:
-------------------------------------------------------------

I also experienced this issue running Karaf 4.2.1 on Ubuntu 16.04.5 with 
OracleJDK 8 and connecting via SSH (PuTTY) from a Windows machine.
 Also doesn't make a difference if testing from Windows 7 or 10...

It looks like this:
{code:java}
Using username "xyz".
SSH server: Password authentication
Using keyboard-interactive authentication.
Password:

  xyz 0.0.1-SNAPSHOT
  (running on Apache Karaf 4.2.1)

Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit 'system:shutdown' to shutdown.
Hit '<ctrl-d>' or type 'logout' to disconnect shell from current session.

Loaded xyz extension script
                             ~                                                  
xyz@root()>
xyz@root()> log:display --help
DESCRIPTION
                   log:display

                                Displays log entries.

                                                     SYNTAX
                                                                   log:display 
[options] [logger]

                                                                                
                  ARGUM
{code}
... and so forth.

[~tomikazi]: Are you also connecting from a Windows machine?

The issue is not present, if Karaf and SSH client run on the same Windows 
machine.


was (Author: roedll):
I also experienced this issue running Karaf on Ubuntu 16.04.5 with OracleJDK 8 
and connecting via SSH (PuTTY) from a Windows machine.
Also doesn't make a difference if testing from Windows 7 or 10...

It looks like this:
{code:java}
Using username "xyz".
SSH server: Password authentication
Using keyboard-interactive authentication.
Password:

  xyz 0.0.1-SNAPSHOT
  (running on Apache Karaf 4.2.1)

Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit 'system:shutdown' to shutdown.
Hit '<ctrl-d>' or type 'logout' to disconnect shell from current session.

Loaded xyz extension script
                             ~                                                  
xyz@root()>
xyz@root()> log:display --help
DESCRIPTION
                   log:display

                                Displays log entries.

                                                     SYNTAX
                                                                   log:display 
[options] [logger]

                                                                                
                  ARGUM
{code}
... and so forth.

[~tomikazi]: Are you also connecting from a Windows machine?

The issue is not present, if Karaf and SSH client run on the same Windows 
machine.

> ssh terminal rendering is not correct using ssh client
> ------------------------------------------------------
>
>                 Key: KARAF-5916
>                 URL: https://issues.apache.org/jira/browse/KARAF-5916
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 4.1.6, 4.2.1
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>             Fix For: 4.2.2, 4.1.7
>
>
> Using {{ssh}} client (from OpenSSH), the rendering of output is not well 
> formatted (like if the columns size is not correct).
> It works fine using Karaf {{bin/client}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to