summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2001-03-08 00:15:49 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2001-03-08 00:15:49 +0000
commit61f2f69102fd0b9ee97b5dd6b837a959cfc2546b (patch)
tree9c0441d298f156a41453f65cd9349be41241a259 /usr.bin
parent087ddc0610713bfc31aeb19debbd8f5525769c92 (diff)
turn off useprivilegedports by default. only rhost-auth needs
this. older sshd's may need this, too.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/ssh/readconf.c4
-rw-r--r--usr.bin/ssh/ssh.14
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/ssh/readconf.c b/usr.bin/ssh/readconf.c
index e65a015fdd5..e96a848f8c0 100644
--- a/usr.bin/ssh/readconf.c
+++ b/usr.bin/ssh/readconf.c
@@ -12,7 +12,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: readconf.c,v 1.64 2001/03/04 17:42:28 millert Exp $");
+RCSID("$OpenBSD: readconf.c,v 1.65 2001/03/08 00:15:47 markus Exp $");
#include "ssh.h"
#include "xmalloc.h"
@@ -743,7 +743,7 @@ fill_default_options(Options * options)
if (options->gateway_ports == -1)
options->gateway_ports = 0;
if (options->use_privileged_port == -1)
- options->use_privileged_port = 1;
+ options->use_privileged_port = 0;
if (options->rhosts_authentication == -1)
options->rhosts_authentication = 1;
if (options->rsa_authentication == -1)
diff --git a/usr.bin/ssh/ssh.1 b/usr.bin/ssh/ssh.1
index 4426eb661b8..b4fc1a462f5 100644
--- a/usr.bin/ssh/ssh.1
+++ b/usr.bin/ssh/ssh.1
@@ -34,7 +34,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.\" $OpenBSD: ssh.1,v 1.97 2001/03/07 04:05:58 deraadt Exp $
+.\" $OpenBSD: ssh.1,v 1.98 2001/03/08 00:15:48 markus Exp $
.Dd September 25, 1999
.Dt SSH 1
.Os
@@ -990,7 +990,7 @@ The argument must be
or
.Dq no .
The default is
-.Dq yes .
+.Dq no .
Note that setting this option to
.Dq no
turns off