Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

提个建议,导出时用命令支持rdp、vnc等协议 #1

Open
allblue opened this issue May 15, 2023 · 0 comments
Open

提个建议,导出时用命令支持rdp、vnc等协议 #1

allblue opened this issue May 15, 2023 · 0 comments

Comments

@allblue
Copy link

allblue commented May 15, 2023

以windterm导出为例,rdp连接也会以ssh协议导出,需要逐个手动修改,可替换为shell+命令方式,实现rdp协议兼容。

  • 判断系统类型
  • 如为windows
    • 导出shell类型为powershell
    • 连接图标设为windows
      image
    • shell启动后进程为mstsc.exe /v: \r
      image
  • linux系统
    • 导出shell类型为bash shell
    • 连接图标设为windows
    • shell启动后进程为freerdp /v:ip \r
  • VNC或其他连接同理

最终效果是,windterm可作为地址簿管理所有连接

  • 对于ssh/telnet/serial等自身支持的连接,在windterm窗口中打开
  • 对于rdp/vnc等不支持的连接,可通过命令在单独窗口打开

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant