diff options
Diffstat (limited to 'sshd_config.5')
-rw-r--r-- | sshd_config.5 | 31 |
1 files changed, 28 insertions, 3 deletions
diff --git a/sshd_config.5 b/sshd_config.5 index 8d90785fc..0944ba076 100644 --- a/sshd_config.5 +++ b/sshd_config.5 | |||
@@ -34,7 +34,7 @@ | |||
34 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 34 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
35 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 35 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
36 | .\" | 36 | .\" |
37 | .\" $OpenBSD: sshd_config.5,v 1.12 2002/09/04 18:52:42 stevesk Exp $ | 37 | .\" $OpenBSD: sshd_config.5,v 1.13 2002/09/16 20:12:11 stevesk Exp $ |
38 | .Dd September 25, 1999 | 38 | .Dd September 25, 1999 |
39 | .Dt SSHD_CONFIG 5 | 39 | .Dt SSHD_CONFIG 5 |
40 | .Os | 40 | .Os |
@@ -630,10 +630,35 @@ from interfering with real X11 servers. | |||
630 | The default is 10. | 630 | The default is 10. |
631 | .It Cm X11Forwarding | 631 | .It Cm X11Forwarding |
632 | Specifies whether X11 forwarding is permitted. | 632 | Specifies whether X11 forwarding is permitted. |
633 | The argument must be | ||
634 | .Dq yes | ||
635 | or | ||
636 | .Dq no . | ||
633 | The default is | 637 | The default is |
634 | .Dq no . | 638 | .Dq no . |
635 | Note that disabling X11 forwarding does not improve security in any | 639 | .Pp |
636 | way, as users can always install their own forwarders. | 640 | When X11 forwarding is enabled, there may be additional exposure to |
641 | the server and to client displays if the | ||
642 | .Nm sshd | ||
643 | proxy display is configured to listen on the wildcard address (see | ||
644 | .Cm X11UseLocalhost | ||
645 | below), however this is not the default. | ||
646 | Additionally, the authentication spoofing and authentication data | ||
647 | verification and substitution occur on the client side. | ||
648 | The security risk of using X11 forwarding is that the client's X11 | ||
649 | display server may be exposed to attack when the ssh client requests | ||
650 | forwarding (see the warnings for | ||
651 | .Cm ForwardX11 | ||
652 | in | ||
653 | .Xr ssh_config 5 ). | ||
654 | A system administrator may have a stance in which they want to | ||
655 | protect clients that may expose themselves to attack by unwittingly | ||
656 | requesting X11 forwarding, which can warrant a | ||
657 | .Dq no | ||
658 | setting. | ||
659 | .Pp | ||
660 | Note that disabling X11 forwarding does not prevent users from | ||
661 | forwarding X11 traffic, as users can always install their own forwarders. | ||
637 | X11 forwarding is automatically disabled if | 662 | X11 forwarding is automatically disabled if |
638 | .Cm UseLogin | 663 | .Cm UseLogin |
639 | is enabled. | 664 | is enabled. |