summaryrefslogtreecommitdiff
path: root/usr.bin/ssh
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2000-07-11 19:17:45 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2000-07-11 19:17:45 +0000
commit646b32ada3a7cc59793f09541a1d4f4c5c05ea0f (patch)
tree429f35aea00d464a2ffcfdb2756a5711ed88a073 /usr.bin/ssh
parentfbc32f0d5d593951dde44fc4997c7292545a04a7 (diff)
disable FallBackToRsh by default
Diffstat (limited to 'usr.bin/ssh')
-rw-r--r--usr.bin/ssh/readconf.c4
-rw-r--r--usr.bin/ssh/ssh_config2
2 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/readconf.c b/usr.bin/ssh/readconf.c
index 28aa0a8b834..c514e9b5915 100644
--- a/usr.bin/ssh/readconf.c
+++ b/usr.bin/ssh/readconf.c
@@ -14,7 +14,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: readconf.c,v 1.40 2000/07/10 16:27:05 ho Exp $");
+RCSID("$OpenBSD: readconf.c,v 1.41 2000/07/11 19:17:44 deraadt Exp $");
#include "ssh.h"
#include "cipher.h"
@@ -739,7 +739,7 @@ fill_default_options(Options * options)
if (options->rhosts_rsa_authentication == -1)
options->rhosts_rsa_authentication = 1;
if (options->fallback_to_rsh == -1)
- options->fallback_to_rsh = 1;
+ options->fallback_to_rsh = 0;
if (options->use_rsh == -1)
options->use_rsh = 0;
if (options->batch_mode == -1)
diff --git a/usr.bin/ssh/ssh_config b/usr.bin/ssh/ssh_config
index 6ecb0efde3f..cb360d04b59 100644
--- a/usr.bin/ssh/ssh_config
+++ b/usr.bin/ssh/ssh_config
@@ -19,7 +19,7 @@
# RhostsRSAAuthentication yes
# RSAAuthentication yes
# PasswordAuthentication yes
-# FallBackToRsh yes
+# FallBackToRsh no
# UseRsh no
# BatchMode no
# CheckHostIP yes