什么鬼

不满足于外网使用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

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-06-24
  • 2022-01-31
  • 2021-06-18
  • 2021-09-11
  • 2021-08-10
猜你喜欢
  • 2021-11-06
  • 2022-12-23
  • 2022-12-23
  • 2021-12-21
相关资源
相似解决方案