summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/ssh.c
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2000-11-06 23:13:28 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2000-11-06 23:13:28 +0000
commit09d143144903a118a9222d875c745ae1f0dc6351 (patch)
treeb143eb97b028d7c84ac0cff6e311c4f3b5ea8bc4 /usr.bin/ssh/ssh.c
parentfc999bd26244950d23a7403daf9c0488767c5b62 (diff)
do not disabled rhosts(rsa) if server port > 1024; from pekkas@netcore.fi
Diffstat (limited to 'usr.bin/ssh/ssh.c')
-rw-r--r--usr.bin/ssh/ssh.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/ssh/ssh.c b/usr.bin/ssh/ssh.c
index 179d1bc968e..c5c769629a0 100644
--- a/usr.bin/ssh/ssh.c
+++ b/usr.bin/ssh/ssh.c
@@ -39,7 +39,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: ssh.c,v 1.70 2000/11/06 23:04:56 markus Exp $");
+RCSID("$OpenBSD: ssh.c,v 1.71 2000/11/06 23:13:26 markus Exp $");
#include <openssl/evp.h>
#include <openssl/dsa.h>
@@ -562,6 +562,8 @@ main(int ac, char **av)
/* Disable rhosts authentication if not running as root. */
if (original_effective_uid != 0 || !options.use_privileged_port) {
+ debug("Rhosts Authentication methods disabled, "
+ "originating port will not be trusted.");
options.rhosts_authentication = 0;
options.rhosts_rsa_authentication = 0;
}