vscode remote ssh实现x11转发
文章目录
什么鬼#
不满足于外网使用vscode ssh remote进行命令行开发,甚至还想转发图形界面,如imshow
怎么搞#
这里分两种情况,假设remote server都是linux系统,client系统分为
Windows#
可以参考我之前的文章VScode远程连接Docker容器实现X11转发
Linux#
直接在~/.ssh/config中对应的Host项目中加入ForwardX11 yes
同时支持ProxyJump使用
Host remote
HostName 192.168.1.123
User develop
ProxyJump proxy@xxx.xxx.xxx.xxx:23333
ForwardX11 yes
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论