From owner-freebsd-alpha@FreeBSD.ORG Wed Dec 29 21:31:50 2004 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED02216A4CE for ; Wed, 29 Dec 2004 21:31:50 +0000 (GMT) Received: from spacecat.mcgillsociety.org (adsl-216-158-26-62.cust.oldcity.dca.net [216.158.26.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1297243D53 for ; Wed, 29 Dec 2004 21:31:50 +0000 (GMT) (envelope-from magill@mcgillsociety.org) Received: from [10.0.1.2] (abase.mcgillsociety.org [216.158.26.165]) iBTLTsl316582 for ; Wed, 29 Dec 2004 16:29:55 -0500 (EST) Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <0B21C422-59E1-11D9-8453-000393768D2C@mcgillsociety.org> Content-Transfer-Encoding: 7bit X-Image-Url: http://www.mcgillsociety.org/magill.jpg From: "William H. Magill" Date: Wed, 29 Dec 2004 16:31:47 -0500 To: freebsd-alpha@freebsd.org X-Mailer: Apple Mail (2.619) Subject: ssh compatibility question X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Dec 2004 21:31:51 -0000 Ok, I have FreeBSD 5.3 running on one Alpha and Tru64 Unix on another. Yet another machine runs OS X 10.3.7. The simple problem is -- OSX and Tru64 have no trouble communicating via SSH. OSX and FreeBSD have no trouble communicating via SSH. Free BSD and Tru64 don't get along. OS X runs: (from debug -vvv) OpenSSH_3.6.1p1+CAN-2004-0175, SSH protocols 1.5/2.0, OpenSSL 0x0090702f When connecting to Tru64 It reports: debug1: Remote protocol version 1.5, remote software version 1.2.27 ======================= FreeBSD is running: (from debug -vvv) OpenSSH_3.8.1p1 FreeBSD-20040419, OpenSSL 0.9.7d 17 Mar 2004 It dies before the "Remote protocol" message would be reported. debug1: Reading configuration data /etc/ssh/ssh_config debug2: ssh_connect: needpriv 0 debug1: Connecting to xxxxx [xxx.xxx.xxx.xxx] port 22. debug1: Connection established. debug1: identity file /home/magill/.ssh/identity type -1 debug1: identity file /home/magill/.ssh/id_rsa type -1 debug1: identity file /home/magill/.ssh/id_dsa type -1 ssh_exchange_identification: Connection closed by remote host ======================= Tru64 is runing (-V) SSH Version 1.2.27 [alpha-dec-osf5.1], protocol version 1.5. Standard version. Does not use RSAREF. and it fails (attempting to connect to FreeBSD) xxx: Remote protocol version 2.0, remote software version OpenSSH_3.8.1p1 FreeBSD-20040419 xxx Waiting for server public key. Local: Bad packet length 1349676916. (It connects to an OSX 10.2.8 system with no problem: Remote protocol version 1.99, remote software version OpenSSH_3.4p1+CAN-2004-0175) ======================= "Obviously" its a version mis-match problem. "Theoretically" I should be able to tell Freebsd to use version 1.5 ... but that apparently isn't an option. So the two questions are: 1- Short of upgrading ssh on Tru64 (assuming that there is a newer version floating around, I haven't looked yet) is there a way to get ssh on FreeBSD to talk to version 1.5? 2- Any idea what the "Bad packet length" problem is all about? Will "Mac hmac-md5" fix that problem? T.T.F.N. William H. Magill # Beige G3 - Rev A motherboard - 768 Meg # Flat-panel iMac (2.1) 800MHz - Super Drive - 768 Meg # PWS433a [Alpha 21164 Rev 7.2 (EV56)- 64 Meg]-Tru64 5.1a # XP1000 [Alpha 21264-3 (EV6) - 256 meg] Open BSD 3.6 # XP1000 [Alpha 21264-A (EV 6.7) - 384 meg] FreeBSD magill@mcgillsociety.org magill@acm.org magill@mac.com whmagill@gmail.com