From owner-freebsd-current Tue Apr 2 9:54:48 2002 Delivered-To: freebsd-current@freebsd.org Received: from fasterix.frmug.org (fasterix.frmug.org [137.194.24.200]) by hub.freebsd.org (Postfix) with ESMTP id C61D437B400 for ; Tue, 2 Apr 2002 09:54:37 -0800 (PST) Received: from fasterix.frmug.org (localhost [127.0.0.1]) by fasterix.frmug.org (8.12.2/8.12.2) with ESMTP id g32HsUcP035588 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 2 Apr 2002 19:54:30 +0200 (CEST) (envelope-from pb@fasterix.frmug.org) Received: (from pb@localhost) by fasterix.frmug.org (8.12.2/8.12.2/Submit) id g32HsPPn035587; Tue, 2 Apr 2002 19:54:25 +0200 (CEST) Message-ID: <20020402195425.A35581@fasterix.frmug.org> Date: Tue, 2 Apr 2002 19:54:25 +0200 From: Pierre Beyssac To: Dag-Erling Smorgrav Cc: freebsd-current@FreeBSD.ORG Subject: Re: FreeBSD-localised OpenSSH hangs with Foundry SSH1 server References: <20020401204810.A55589@fasterix.frmug.org> <20020402023134.A56960@fasterix.frmug.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=G4iJoqBmSsgzjUCe X-Mailer: Mutt 0.92.8i In-Reply-To: ; from Dag-Erling Smorgrav on Tue, Apr 02, 2002 at 10:40:08AM +0200 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --G4iJoqBmSsgzjUCe Content-Type: text/plain; charset=us-ascii On Tue, Apr 02, 2002 at 10:40:08AM +0200, Dag-Erling Smorgrav wrote: > > Uh, no, it does not seem to work in ssh_config, only in sshd_config. > Hmm, that needs fixing then. I have written the following patch, seems to work ok. Pierre --G4iJoqBmSsgzjUCe Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="patch.ssh" --- readconf.c.orig Tue Mar 19 14:29:02 2002 +++ readconf.c Tue Apr 2 19:44:46 2002 @@ -116,7 +116,8 @@ oKbdInteractiveAuthentication, oKbdInteractiveDevices, oHostKeyAlias, oDynamicForward, oPreferredAuthentications, oHostbasedAuthentication, oHostKeyAlgorithms, oBindAddress, oSmartcardDevice, - oClearAllForwardings, oNoHostAuthenticationForLocalhost + oClearAllForwardings, oNoHostAuthenticationForLocalhost, + oVersionAddendum } OpCodes; /* Textual representations of the tokens. */ @@ -188,6 +189,7 @@ { "smartcarddevice", oSmartcardDevice }, { "clearallforwardings", oClearAllForwardings }, { "nohostauthenticationforlocalhost", oNoHostAuthenticationForLocalhost }, + { "versionaddendum", oVersionAddendum }, { NULL, oBadOption } }; @@ -675,6 +677,13 @@ } if (*activep && *intptr == -1) *intptr = value; + break; + + case oVersionAddendum: + ssh_version_set_addendum(strtok(s, "\n")); + do { + arg = strdelim(&s); + } while (arg != NULL && *arg != '\0'); break; default: --G4iJoqBmSsgzjUCe-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message