MobaXterm 无法关联网页 telnet 链接

2020-05-09 15:54:30 +08:00
 gearfox

以前使用 securecrt 关联网页中 ssh 和 telnet 链接都正常。

修改 telnet 关联注册表 HKEY_CLASSES_ROOT\telnet\shell\open\command "D:\Tools\MobaXterm\MobaXterm.exe" -newtab 现在使用 MobaXterm 点击后,可以正常弹出并新建标签,但是为本地 cmd

请问如何正确设置关联,让 MobaXterm 打开网页中 telnet 链接,谢谢了

978 次点击
所在节点    程序员
2 条回复
gearfox
2020-05-10 15:58:07 +08:00
搜到了
MobaXterm.exe -installprotohandler

This command can be used to install the URL protocol handler, in order for MobaXterm to be able to execute sessions from HTML pages
gearfox
2020-05-10 16:00:44 +08:00
记录一下,如果是 securecrt 使用此注册表

Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\ssh]
[-HKEY_CLASSES_ROOT\telnet]

[HKEY_CLASSES_ROOT\ssh]
@="URL:PuTTY SSH Protocol"
"EditFlags"=dword:00000002
"FriendlyTypeName"="@ieframe.dll,-907"
"URL Protocol"=""
"BrowserFlags"=dword:00000008

[HKEY_CLASSES_ROOT\ssh\DefaultIcon]
@="C:\\Windows\\System32\\url.dll,0"

[HKEY_CLASSES_ROOT\ssh\shell]
@=""

[HKEY_CLASSES_ROOT\ssh\shell\open]

[HKEY_CLASSES_ROOT\ssh\shell\open\command]
@="C:\\Program Files\\VanDyke Software\\SecureCRT\\SecureCRT.exe\" %1 /T"

[HKEY_CLASSES_ROOT\telnet]
@="URL:PuTTY telnet Protocol"
"EditFlags"=dword:00000002
"FriendlyTypeName"="@ieframe.dll,-907"
"URL Protocol"=""
"BrowserFlags"=dword:00000008

[HKEY_CLASSES_ROOT\telnet\DefaultIcon]
@="C:\\Windows\\System32\\url.dll,0"

[HKEY_CLASSES_ROOT\telnet\shell]
@=""

[HKEY_CLASSES_ROOT\telnet\shell\open]

[HKEY_CLASSES_ROOT\telnet\shell\open\command]
@="C:\\Program Files\\VanDyke Software\\SecureCRT\\SecureCRT.exe\" %1 /T"

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/670021

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX