• 请不要在回答技术问题时复制粘贴 AI 生成的内容
mylara
V2EX  ›  程序员

MobaXterm 无法关联网页 telnet 链接

  •  
  •   mylara · May 9, 2020 · 1789 views
    This topic created in 2371 days ago, the information mentioned may be changed or developed.

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

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

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

    2 replies  •  2020-05-10 16:00:44 +08:00
    mylara
    mylara
    OP
    May 10, 2020
    1
    搜到了
    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
    mylara
    mylara
    OP
    May 10, 2020
    2
    记录一下,如果是 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"
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1563 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 23:37 · PVG 07:37 · LAX 15:37 · JFK 18:37
    ♥ Do have faith in what you're doing.