Date: Tue, 2 Apr 2002 19:54:25 +0200 From: Pierre Beyssac <pb@fasterix.frmug.org> To: Dag-Erling Smorgrav <des@ofug.org> Cc: freebsd-current@FreeBSD.ORG Subject: Re: FreeBSD-localised OpenSSH hangs with Foundry SSH1 server Message-ID: <20020402195425.A35581@fasterix.frmug.org> In-Reply-To: <xzpu1qulcif.fsf@flood.ping.uio.no>; from Dag-Erling Smorgrav on Tue, Apr 02, 2002 at 10:40:08AM %2B0200 References: <20020401204810.A55589@fasterix.frmug.org> <xzp8z872jhk.fsf@flood.ping.uio.no> <20020402023134.A56960@fasterix.frmug.org> <xzpu1qulcif.fsf@flood.ping.uio.no>
next in thread | previous in thread | raw e-mail | index | archive | help
--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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020402195425.A35581>
