X11 forwarding.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Wed, 10 Oct 2012 21:11:08 +0300
changeset 1384 9698523dd263
parent 1383 a9febd006f66
child 1385 acb36dfe5d09
X11 forwarding.
ssh.rst
--- a/ssh.rst	Wed Oct 10 21:06:07 2012 +0300
+++ b/ssh.rst	Wed Oct 10 21:11:08 2012 +0300
@@ -38,12 +38,22 @@
   $ ssh -l $user $host
   $ ssh -l $user $host:$port
 
-X session.
-==========
-::
+X11 forwarding.
+===============
+
+Enable X11 forwarding on remote host in ``~/.ssh/config`` or ``/etc/ssh_config``::
+
+  X11Forwarding yes
+
+then login to this host by::
 
   $ ssh -X $user@$host
 
+or by using trusted X11 forwarding::
+
+  $ ssh -Y $user@$host
+
+
 Multiply private keys.
 ======================