SSH Problem with polish characters (ISO Latin 2)
------------------------------------------------

I compiled ssh 1.2.22 on :
- SCO Open Server 5.0.2
- AIX 3.2.5

SSH installed with standard parameters (port 22, etc)
SSH serwer - AIX or SCO
polish characters - ISO 8859-2 (Latin2) codes :
                    B1, E6, EA, B3, F1, F3, B6, BF, BC
                    A1, C6, CA, A3, D1, D3, A6, AF, AC


Problem during next connection :

                   lxepro             ibm
 +-----+          +------+         +--------+
 |vt320| ________ | ssh  | _______ |  SSH   |
 |term |  telnet  |client|   ssh   | server |
 +-----+          +------+         +--------+
                    SCO               AIX

- 'cat', 'vi' shows polish letters
- codes entered polish letters are trimmed to seven bits
- after this connection, most of other ssh-connections
  to server AIX are without polish letters
- a normal telnet to AIX recover correct states



When I run AIX-ssh-server with option -d (debug) :
--------------------------------------------------
debug: sshd version 1.2.22 [powerpc-ibm-aix3.2.5]
debug: Initializing random number generator; seed file
/etc/ssh_random_seed
log: Server listening on port 22.
log: Generating 768 bit RSA key.
Generating p:  ...............++ (distance 230)
Generating q:  ......++ (distance 138)
log: RSA key generation complete.
debug: Server will not fork when running in debugging mode.
log: Connection from lxepro port 1697
debug: Client protocol version 1.5; client software version 1.2.22
debug: Sent 768 bit public key and 1024 bit host key.
debug: Encryption type: idea
debug: Received session key; encryption turned on.
debug: Attempting authentication for kun.
log: Password authentication for kun accepted.
debug: Allocating pty.
debug: Ignoring unsupported tty mode opcode 16 (0x10)
debug: Forking shell.
Computing the keys...
Testing the keys...
Key generation complete.
debug: Entering interactive session.
debug: Received SIGCHLD.
debug: End of interactive session; stdin 14, stdout (read 434, sent
434),
       stderr 0 bytes.
debug: pty_cleanup_proc called
debug: Command exited with status 0.
debug: Received exit confirmation.
log: Closing connection to 145.237.104.11
Computing the keys...
Testing the keys...
Key generation complete.



When I run SCO-ssh-client with option -v :
------------------------------------------
SSH Version 1.2.22 [i586-unknown-sco3.2v5.0.4], protocol version 1.5.
Standard version.  Does not use RSAREF.
lxepro: Reading configuration data /etc/ssh_config
lxepro: ssh_connect: getuid 201 geteuid 201 anon 1
lxepro: Connecting to ibm [145.237.105.140] port 22.
lxepro: Connection established.
lxepro: Remote protocol version 1.5, remote software version 1.2.22
lxepro: Waiting for server public key.
lxepro: Received server public key (768 bits) and host key (1024 bits).
lxepro: Host 'ibm' is known and matches the host key.
lxepro: Initializing random; seed file /users/kun/.ssh/random_seed
lxepro: Encryption type: idea
lxepro: Sent encrypted session key.
lxepro: Received encrypted confirmation.
lxepro: Remote: Server does not permit empty password login.
lxepro: No agent.
lxepro: Doing password authentication.
kun@ibm's password:
lxepro: Requesting pty.
lxepro: Requesting shell.
lxepro: Entering interactive session.
Environment:
  HOME=/users/kun
  USER=kun
  LOGNAME=kun
  PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin
  MAIL=/var/spool/mail/kun
  SHELL=/bin/ksh
  TZ=NFT-1DFT
  SSH_CLIENT=lxepro 1697 22
  SSH_TTY=/dev/pts/2
  TERM=vt320
  LOCPATH=/usr/lib/nls/loc
  NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/prime/%N
  ODMDIR=/etc/objrepos
  LANG=En_GB
ORACLE_HOME = [/oracle] ?
$ js
Connection to ibm closed.
lxepro: Transferred: stdin 14, stdout 434, stderr 27 bytes in 13.4
seconds
lxepro: Bytes per second: stdin 1.0, stdout 32.3, stderr 2.0
lxepro: Exit status 0
------------------------------------------------------------


How I should set SSHD-parameters on AIX and SSH-parameter on SCO
(or system environment), to correct problem with polish characters.

Regards,
Kunus

E-mail: [EMAIL PROTECTED]


Reply via email to