diff options
-rw-r--r-- | usr.bin/ssh/sshconnect.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/sshconnect.c b/usr.bin/ssh/sshconnect.c index a71589aee4b..946587c522f 100644 --- a/usr.bin/ssh/sshconnect.c +++ b/usr.bin/ssh/sshconnect.c @@ -8,7 +8,7 @@ */ #include "includes.h" -RCSID("$Id: sshconnect.c,v 1.47 1999/12/20 08:35:36 markus Exp $"); +RCSID("$Id: sshconnect.c,v 1.48 2000/01/02 14:25:51 markus Exp $"); #include <ssl/bn.h> #include "xmalloc.h" @@ -1015,7 +1015,7 @@ ssh_exchange_identification() /* We speak 1.3, too. */ if (remote_major == 1 && remote_minor == 3) { enable_compat13(); - if (options.forward_agent && strcmp(remote_version, SSH_VERSION) != 0) { + if (options.forward_agent && strcmp(remote_version, "OpenSSH-1.1") != 0) { log("Agent forwarding disabled, remote version '%s' is not compatible.", remote_version); options.forward_agent = 0; |