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

Re: Debian and OpenBSD -- ssh compatibility?



On Mon, Jul 31, 2000 at 12:36:43PM -0700, kmself@ix.netcom.com wrote:
> I'm configuring an OpenBSD firewall in front of my Debian box.  Current
> problem is getting compatible versions of ssh on both boxes.
> 
> I can ssh FROM OpenBSD to Debian, but not TO OpenBSD from Debian.
> Error message on attempting OpenBSD connection:
> 
> 	Disconnecting: Bad packet length 1349676916.
> 
> ...on the OBSD side, I get the following in /var/log/authlog:
> 
> 	Jul 31 05:32:37 jung sshd[32168]: Protocol major versions differ for 
> 	192.168.0.32: SSH-2.0-OpenSSH-2.1 vs. SSH-1.5-OpenSSH-1.2.3
> 
> I obviously need to get compatible versions of ssh, but I'm not sure
> which end to even up, or (for the OBSD side) how to do it.  My
> understanding is that OpenSSH 1.2.3 is licensed freely, that SSH-2 is
> not, and that there isn't a free version of OpenSSH-2 available for
> Debian.

Solution:

On the OpenBSD box, change the /etc/sshd_config line:
	Protocol 2,1

To:
	Protocol 1,2

...apparently it tries the first-listed protocol first.

-- 
Karsten M. Self <kmself@ix.netcom.com>     http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.                    http://www.opensales.org
  What part of "Gestalt" don't you understand?   Debian GNU/Linux rocks!
   http://gestalt-system.sourceforge.net/    K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0

Attachment: pgpF3DA_R_tl7.pgp
Description: PGP signature


Reply to: