summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/sshconnect.c
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2000-01-18 09:42:19 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2000-01-18 09:42:19 +0000
commit087f72b74c380f614587e63475053f9927827dd8 (patch)
tree44b42afbe7998e73d6d40ca92d487eb8dbf1413e /usr.bin/ssh/sshconnect.c
parent646ae9333319b6f0ade32997719b2e2a34378c29 (diff)
disable agent fwding for proto 1.3, remove abuse of auth-rsa flags.
Diffstat (limited to 'usr.bin/ssh/sshconnect.c')
-rw-r--r--usr.bin/ssh/sshconnect.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.bin/ssh/sshconnect.c b/usr.bin/ssh/sshconnect.c
index 22bbc64f166..ac8f4937143 100644
--- a/usr.bin/ssh/sshconnect.c
+++ b/usr.bin/ssh/sshconnect.c
@@ -8,7 +8,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: sshconnect.c,v 1.52 2000/01/16 23:53:02 markus Exp $");
+RCSID("$OpenBSD: sshconnect.c,v 1.53 2000/01/18 09:42:17 markus Exp $");
#include <ssl/bn.h>
#include "xmalloc.h"
@@ -985,9 +985,8 @@ ssh_exchange_identification()
/* We speak 1.3, too. */
if (remote_major == 1 && remote_minor == 3) {
enable_compat13();
- if (options.forward_agent && strcmp(remote_version, "OpenSSH-1.1") != 0) {
- log("Agent forwarding disabled, remote version '%s' is not compatible.",
- remote_version);
+ if (options.forward_agent) {
+ log("Agent forwarding disabled for protocol 1.3");
options.forward_agent = 0;
}
}