summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/ssh.c
diff options
context:
space:
mode:
authormarkus <markus@openbsd.org>2003-08-13 08:46:30 +0000
committermarkus <markus@openbsd.org>2003-08-13 08:46:30 +0000
commit261c4a3ed497aaabcdb806809446bcdc62c8b067 (patch)
tree68c6a507d6a5f7e9b48fcbe785698cc888f0bdde /usr.bin/ssh/ssh.c
parentuse more portable tcsendbreak(3) and ignore break_length; (diff)
downloadwireguard-openbsd-261c4a3ed497aaabcdb806809446bcdc62c8b067.tar.xz
wireguard-openbsd-261c4a3ed497aaabcdb806809446bcdc62c8b067.zip
remove RhostsAuthentication; suggested by djm@ before; ok djm@, deraadt@,
fgsch@, miod@, henning@, jakob@ and others
Diffstat (limited to 'usr.bin/ssh/ssh.c')
-rw-r--r--usr.bin/ssh/ssh.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/usr.bin/ssh/ssh.c b/usr.bin/ssh/ssh.c
index 1c7960f1704..2c8b931b217 100644
--- a/usr.bin/ssh/ssh.c
+++ b/usr.bin/ssh/ssh.c
@@ -40,7 +40,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: ssh.c,v 1.198 2003/07/22 13:35:22 markus Exp $");
+RCSID("$OpenBSD: ssh.c,v 1.199 2003/08/13 08:46:30 markus Exp $");
#include <openssl/evp.h>
#include <openssl/err.h>
@@ -589,14 +589,7 @@ again:
strcmp(options.proxy_command, "none") == 0)
options.proxy_command = NULL;
- /* Disable rhosts authentication if not running as root. */
- if (original_effective_uid != 0 || !options.use_privileged_port) {
- debug("Rhosts Authentication disabled, "
- "originating port will not be trusted.");
- options.rhosts_authentication = 0;
- }
/* Open a connection to the remote host. */
-
if (ssh_connect(host, &hostaddr, options.port,
options.address_family, options.connection_attempts,
original_effective_uid == 0 && options.use_privileged_port,