Telnet关联


  1. 开启Telnet功能

    控制面板--程序--程序和功能--启用或关闭Windows功能--勾选Telnet客户端。


  2. 关联Telnet://

    注册表:路径修改为Xshell、Putty、SecureCRT皆可

  3. Windows Registry Editor Version 5.00
    
    [HKEY_CLASSES_ROOT\telnet]
    @="URL:Telnet Protocol"
    "EditFlags"=dword:00000002
    "FriendlyTypeName"="@C:\\WINDOWS\\system32\\ieframe.dll,-907"
    "URL Protocol"=""
    
    [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:\\SecureCRT\\SecureCRT.EXE\" %1"

扩展:

  1. Firefox(火狐)设置--应用,找到Telnet,右侧选“使用 SecureCRT Application 处理(默认)”,实现单个窗口多标签打开对话

  2. GNS3关联secureCRT的方法

  3. Chrome“始终在关联的应用中打开这些类型的链接”,如果勾选了想取消,在以下两个文件内找到:

  4. excluded_schemes,把中括号里的Telnet删除,例:"protocol_handler":{"excluded_schemes":{}}
    C:\Users\用户名\AppData\Local\Google\Chrome\User Data\Default\Preferences
    C:\Users\用户名\AppData\Local\Google\Chrome\User Data\Local State
    参考:https://www.zhihu.com/question/20529039






猜你喜欢

转载自blog.51cto.com/13938789/2299685