From 42ae81df4888f5bbd22cd1ef7b393d2376974847 Mon Sep 17 00:00:00 2001 From: kris Date: Sat, 2 Sep 2000 03:49:22 +0000 Subject: Turn on X11Forwarding by default on the server. Any risk is to the client, where it is already disabled by default. Reminded by: peter --- crypto/openssh/servconf.c | 2 +- crypto/openssh/sshd_config | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'crypto') diff --git a/crypto/openssh/servconf.c b/crypto/openssh/servconf.c index 8d37e10..49d6607 100644 --- a/crypto/openssh/servconf.c +++ b/crypto/openssh/servconf.c @@ -113,7 +113,7 @@ fill_default_server_options(ServerOptions *options) if (options->print_motd == -1) options->print_motd = 1; if (options->x11_forwarding == -1) - options->x11_forwarding = 0; + options->x11_forwarding = 1; if (options->x11_display_offset == -1) options->x11_display_offset = 10; if (options->strict_modes == -1) diff --git a/crypto/openssh/sshd_config b/crypto/openssh/sshd_config index e1fbe8e..ca64fdf 100644 --- a/crypto/openssh/sshd_config +++ b/crypto/openssh/sshd_config @@ -19,7 +19,7 @@ IgnoreRhosts yes # Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication #IgnoreUserKnownHosts yes StrictModes yes -X11Forwarding no +X11Forwarding yes X11DisplayOffset 10 PrintMotd yes KeepAlive yes -- cgit v1.1