首页 > 代码库 > ssh GUI in local Ubuntu14.04
ssh GUI in local Ubuntu14.04
1.In ssh service agent (controlled computer),find /etc/ssh/sshd_config,make sure [ X11Forwarding yes ],note no [ # ] in front of [ X11Forwarding ],and then :
cd /etc/init.d ./ssh restart
2.In local agent,find /etc/ssh/ssh_config,make sure
ForwardAgent yes
ForwardX11 yes
ForwardX11Trusted yes
3.Next open terminate,assume ubuntu local agent ip is 1.1.1.1,ssh service agent ip is 2.2.2.2 .Connect to controlled computer by
xhost +2.2.2.2 ssh -X username@2.2.2.2 | or ssh -Y username@2.2.2.2 export DISPLAY="127.0.0.1:10.0"
Test :
xclock
ssh GUI in local Ubuntu14.04
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。