>I was trying to run ssh2 and ssh1 on the same server. 
>in the README file there are some comments that ssh2 can be configured to
>call ssh1 for the ssh1 client. 
>Both ssh2 and ssh1works on its own, but when i try to connect with ssh1 to
>ssh2 server, connection is closed immediately , and sshd2 says: illegal
>protocol. 
>
>The reason is that i want to use ssh from win95 and linux (dual-boot), and
>the only free ports are for ssh1. 

>From man sshd:

Ssh1Compatibility
     Specifies whether to use SSH1 compatibility code.  With
     this option, sshd1 is executed when the client supports
     only SSH 1.x protocols. The argument must be  "yes"  or
     "no".

Sshd1Path
     Specifies the path to sshd1 daemon, which  is  executed
     if  the  client  supports  only  SSH 1.x protocols. The
     arguments for sshd2 are passed on to sshd1 .

For example, we have this in /etc/ssh2/sshd2_config:
Ssh1Compatibility      yes
Sshd1Path              /usr/local/ssh1/sbin/sshd1

Restart sshd2 and it should take effect.

HTH.

-- 
John Riddoch    Email: [EMAIL PROTECTED]        Telephone: (01224)262721
Room C6, School of Computer and Mathematical Science
Robert Gordon University, Aberdeen, AB25 1HG
I am Homer of Borg. Resistance is Fu... Ooooh! Donuts!

Reply via email to