OpenSSH banner doesnot display multibyte characters like korean

balu chandra balu9463 at gmail.com
Tue Sep 25 21:12:38 EST 2012


Hello,

The banner message displayed on the screen contain octal values
instead of korean chars. Prior to ssh 5.1 the banner message would
display the charaters properly.
I understand that starting from 5.1 the message is passed through
strnvis() function.
I looked into documentation on strnvis  and found that it does not
support multibyte chars and doesnt work well with international chars.

Could you please share any workaround to display international chars
like korean in banner message.

I also found little information inthe changelog on why strnvis() was
introduced in input_userauth_banner. Is it added to address any
security vulnerability.
Any information on this is appreciated.

Regards,
Bala


More information about the openssh-unix-dev mailing list