KpyM Telnet/SSH Server - Forum
Incompatibility with OpenSSH 5.1p1
Michael Weiser Incompatibility with OpenSSH 5.1p1
 
Hi there,

when connecting to my KpyM SSH server with OpenSSH version 5.1p1 as a client I get disconnected immediately after successful login. All other versions I've tried, work fine (4.2p1 SuSE 10.1, 4.3p2 CentOS 5.5, 5.5p1 Debian squeeze, 4.3p2/4.7p1/5.0p1/5.7p1 self-compiled).

Unfortunately I can't easily change all my SSH client installations, so I'm looking for some way to make KpyM SSH server cope with this particular OpenSSH client.

The client logs with -v:

debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug1: Requesting X11 forwarding with authentication spoofing.
debug1: channel 0: free: client-session, nchannels 1
Connection to localhost closed.
Transferred: sent 2928, received 1784 bytes, in 0.0 seconds
Bytes per second: sent 137033.3, received 83493.0
debug1: Exit status -1

A successful login with a working version logs:

debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Requesting X11 forwarding with authentication spoofing.
debug1: Sending environment.
debug1: Sending env LANG = en_US.UTF-8
debug1: channel 0: free: client-session, nchannels 1
debug1: fd 2 clearing O_NONBLOCK
Connection to localhost closed.
debug1: Transferred: stdin 0, stdout 0, stderr 35 bytes in 3.8 seconds
debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 9.1
debug1: Exit status -1

The session.exe logs the following for a connect with the incompatible OpenSSH client:

4048 : 1660 2011- 2- 2 17:35:31 557 : 0: login accepted: [ me ]
4048 : 1660 2011- 2- 2 17:35:31 588 : 0: can't read first packet
4048 : 2764 2011- 2- 2 17:35:31 604 : 0: session.exe end

Thanks in advance.
--
Micha


Kroum Grigorov
 
This looks like some incompability between OpenSSH and KTS.
Debuging these type of problems is very time consuming and right now I have no free time to do that.

If you need to stay with your OpenSSH version I can just recommend to switch to another SSH server.

Kroum


Tessio
 
I'm using kpym with openssh 5.5p1 (Ubuntu 10.10) and it works fine.


 

© 2007 - 2008 Kroum Grigorov
Powered by phpBB © 2001, 2005 phpBB Group