Server: ssh-secure-shell-2.1.0-noncommercial configured with
"Ssh1Compatibility yes"
Client: F-secure SSH 1.0.1 for Macintosh.
Problem: doesn't work, sshd2 waits for remote client version string
forever. server expects the \n terminated string while the client
sends \r only.
Possible solution:
-----------------------------------------------------------------------
*** ./lib/sshproto/trcommon.c.orig Thu Mar 30 14:42:14 2000
--- ./lib/sshproto/trcommon.c Tue May 16 02:07:10 2000
***************
*** 584,590 ****
break;
if (tr->remote_version[tr->remote_version_index] == '\r')
! continue; /* Ignore carriage return. */
/* Count these characters. */
tr->remote_version_index++;
--- 584,605 ----
break;
if (tr->remote_version[tr->remote_version_index] == '\r')
! {
! /*
! * Kludge to let F-Secure SSH client for Macintosh 1.x through.
! * The catch is that it never sends '\n' and sshd2 never passes
! * the remote version negotiation stage.
! *
! * <[EMAIL PROTECTED]>
! */
! if ((tr->remote_version_index == 12) &&
! !memcmp (tr->remote_version,"SSH-1.5-W1.0",12))
! {
! tr->remote_version[tr->remote_version_index] = '\n';
! break;
! }
! continue; /* Ignore carriage return. */
! }
/* Count these characters. */
tr->remote_version_index++;
-----------------------------------------------------------------------
Cheers. Andy.