diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2000-11-06 23:13:28 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2000-11-06 23:13:28 +0000 |
commit | 09d143144903a118a9222d875c745ae1f0dc6351 (patch) | |
tree | b143eb97b028d7c84ac0cff6e311c4f3b5ea8bc4 /usr.bin/ssh/sshd.c | |
parent | fc999bd26244950d23a7403daf9c0488767c5b62 (diff) |
do not disabled rhosts(rsa) if server port > 1024; from pekkas@netcore.fi
Diffstat (limited to 'usr.bin/ssh/sshd.c')
-rw-r--r-- | usr.bin/ssh/sshd.c | 4 |
1 files changed, 3 insertions, 1 deletions
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; } |