Changes between Version 19 and Version 20 of TipAndDoc/network/ssh


Ignore:
Timestamp:
Jun 6, 2013 1:35:28 AM (11 years ago)
Author:
mitty
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TipAndDoc/network/ssh

    v19 v20  
    2121 >> I have hosts A,B and C. From host A I can access through ssh only B. From B I can access C. I want to be able to run X11 programs on C and forward display to A. 
    2222 > not exactly... if X11Forwarding is not enabled on server C, it won't work. it also won't work unless one sets AllowTcpForwarding yes and GatewayPorts yes on server B. this answer is not acceptable at all  
     23 
     24 * [http://ngyuki.hatenablog.com/entry/20120508/p1 SSHのエージェントフォワーディングを「sudo」の後でも引き継ぐ - ngの日記] 
     25 > {{{sudo SSH_AUTH_SOCK=$SSH_AUTH_SOCK rsync -av remotehost:/path/ /path/}}} 
    2326 
    2427 = X11Forwarding with another user =