From 09d143144903a118a9222d875c745ae1f0dc6351 Mon Sep 17 00:00:00 2001 From: Markus Friedl Date: Mon, 6 Nov 2000 23:13:28 +0000 Subject: do not disabled rhosts(rsa) if server port > 1024; from pekkas@netcore.fi --- usr.bin/ssh/sshd.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'usr.bin/ssh/sshd.c') diff --git a/usr.bin/ssh/sshd.c b/usr.bin/ssh/sshd.c index f0110b2146c..fdee1e4902c 100644 --- a/usr.bin/ssh/sshd.c +++ b/usr.bin/ssh/sshd.c @@ -40,7 +40,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: sshd.c,v 1.132 2000/10/13 18:34:46 markus Exp $"); +RCSID("$OpenBSD: sshd.c,v 1.133 2000/11/06 23:13:27 markus Exp $"); #include "xmalloc.h" #include "rsa.h" @@ -1051,6 +1051,8 @@ main(int ac, char **av) */ if (remote_port >= IPPORT_RESERVED || remote_port < IPPORT_RESERVED / 2) { + debug("Rhosts Authentication methods disabled, " + "originating port not trusted."); options.rhosts_authentication = 0; options.rhosts_rsa_authentication = 0; } -- cgit v1.2.3