Raman Gupta created SSHD-679:
--------------------------------

             Summary: Support (or ignore) IUTF8 terminal mode (42)
                 Key: SSHD-679
                 URL: https://issues.apache.org/jira/browse/SSHD-679
             Project: MINA SSHD
          Issue Type: Improvement
    Affects Versions: 1.2.0, 1.1.1, 0.14.0
            Reporter: Raman Gupta


My version of openssh running on Fedora 23 is:

OpenSSH_7.2p2, OpenSSL 1.0.2h-fips  3 May 2016

When connecting to an sshd server using this client, the client transmits 
terminal mode 42 (IUTF8 terminal, see 
https://tools.ietf.org/html/draft-sgtatham-secsh-iutf8-01).

The server however does not define this mode and breaks out of the loop 
processing the client terminal modes with the warning:

Unknown pty opcode value: 42

As per the spec (https://tools.ietf.org/html/rfc4254#page-19) only opcodes 160 
to 255 should cause parsing to stop. Other opcodes, if not understood by the 
server (such as opcode 42) should be ignored. However, currently opcodes less 
than 160 cause parsing to stop as well.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to