开发者社区 问答 正文

linux中从一个远程主机转发 X 会话的方法是什么?

linux中从一个远程主机转发 X 会话的方法是什么?

展开
收起
游客qzzytmszf3zhq 2021-12-05 17:55:21 260 分享 版权
1 条回答
写回答
取消 提交回答
  • Edit /etc/ssh/sshd_config and change 2 keywords : 
    AllowTcpForwarding yes
    X11Forwarding yes
    # service sshd restart 
    $ export DISPLAY 
    $ ssh -X fsmythe@example.com
    
    2021-12-05 17:55:36
    赞同 展开评论