diff options
author | kris <kris@FreeBSD.org> | 2000-09-02 03:49:22 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2000-09-02 03:49:22 +0000 |
commit | 42ae81df4888f5bbd22cd1ef7b393d2376974847 (patch) | |
tree | bc533bacc7571d121a128c57adfa3635355c774d /crypto | |
parent | 3f670babb552fac2d572bb7deefc0233a6fa6617 (diff) | |
download | FreeBSD-src-42ae81df4888f5bbd22cd1ef7b393d2376974847.zip FreeBSD-src-42ae81df4888f5bbd22cd1ef7b393d2376974847.tar.gz |
Turn on X11Forwarding by default on the server. Any risk is to the client,
where it is already disabled by default.
Reminded by: peter
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/openssh/servconf.c | 2 | ||||
-rw-r--r-- | crypto/openssh/sshd_config | 2 |
2 files changed, 2 insertions, 2 deletions
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 |