Don't send IUTF8 to servers that don't like them.
authordtucker <dtucker@openbsd.org>
Fri, 16 Feb 2018 04:43:11 +0000 (04:43 +0000)
committerdtucker <dtucker@openbsd.org>
Fri, 16 Feb 2018 04:43:11 +0000 (04:43 +0000)
commiteac342a1aa4fcedd309607896bd94166914a21b4
treeb0657b81bcc6c378eb08429c7cb10082e3a67a85
parent731dc9ef39fa8edef45eeb48d6a9fa8740a2a949
Don't send IUTF8 to servers that don't like them.

Some SSH servers eg "ConfD" drop the connection if the client sends the
new IUTF8 (RFC8160) terminal mode even if it's not set.  Add a bug bit
for such servers and avoid sending IUTF8 to them.  ok djm@
usr.bin/ssh/compat.c
usr.bin/ssh/compat.h
usr.bin/ssh/ttymodes.c