[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#568108: /usr/bin/ssh: Wrong characters accepted between UTF-8 server and UTF-8 client using Banner



Package: openssh-client
Version: 1:5.1p1-5
Severity: normal
File: /usr/bin/ssh
Tags: l10n


Hallo,
  I am using ssh client to log to another machines. Using Banner option (pointed to /etc/issue.net at server side) brings strange results using non-ascii characters in invitation text:

user@pom64:~$ ssh netman@xxx.xxx.xxx.xxx
Debian GNU/Linux 5.0
---
\304\233\305\241\304\215\305\231\305\276\303\275\303\241\303\255\303\251
---
netman@xxx.xxx.xxx.xxx's password: 
Linux lanmgr 2.6.26-2-amd64 #1 SMP Thu Nov 5 02:23:12 UTC 2009 x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Xxx Xxx  xx xx:xx:xx 2010 from xxx.xxx.xxx.xxx

Well, text has been a bit coded .... but trying to show this text after logging works fine, look at:

netman@lanmgr:~$ cat /etc/issue.net
Debian GNU/Linux 5.0
---
ěščřžýáíé
---
netman@lanmgr:~$

It looks like strange issue when client doesn't expect UTF-8 coding before loging in. Just a note about lanmgr's installation: it is fresh installation of Lenny without any obsolete config files.

I really do not understand why UTF-8 client doesn't understand UTF-8 server and interprets UTF-8 characters by wrong way.

Could you please check this example and try to repare it? I am not sure, but I think, that similar situation in etch distribution (with another server) work fine, but upgrade to Lenny breaks it.

Thank you for your help,
  Pavel

-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32.7-pom64 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages openssh-client depends on:
ii  adduser         3.110                    add and remove users and groups
ii  debconf [debcon 1.5.24                   Debian configuration management sy
ii  dpkg            1.14.28                  Debian package management system
ii  libc6           2.7-18lenny2             GNU C Library: Shared libraries
ii  libcomerr2      1.41.3-1                 common error description library
ii  libedit2        2.11~20080614-1          BSD editline and history libraries
ii  libkrb53        1.6.dfsg.4~beta1-5lenny2 MIT Kerberos runtime libraries
ii  libncurses5     5.7+20081213-1           shared libraries for terminal hand
ii  libssl0.9.8     0.9.8g-15+lenny6         SSL shared libraries
ii  passwd          1:4.1.1-6+lenny1         change and administer password and
ii  zlib1g          1:1.2.3.3.dfsg-12        compression library - runtime

Versions of packages openssh-client recommends:
ii  openssh-blacklist             0.4.1      list of default blacklisted OpenSS
ii  openssh-blacklist-extra       0.4.1      list of non-default blacklisted Op
ii  xauth                         1:1.0.3-2  X authentication utility

Versions of packages openssh-client suggests:
pn  keychain                      <none>     (no description available)
pn  libpam-ssh                    <none>     (no description available)
pn  ssh-askpass                   <none>     (no description available)

-- no debconf information



Reply to: