• SSH Secure Shell Client的windows客户端样式设置


      SSH Secure Shell Client下载:http://pan.baidu.com/s/1dF2lDdf

      其他工具(putty-0.67)下载:http://pan.baidu.com/s/1mhOHLG0

      如果是第一次启用是没有global.dat文件的,只有你打开了客户端并关闭后才会产生。

      找到软件的安装路径,默认路径为:C:Users电脑用户名Application DataSSH

    如果不知道也可以在软件设置下找到路径,如图:

    直接点击Open,打开配置文件所在的文件夹,下面有如下文件:

    直接编辑global.dat文件即可,用记事本或Notepad++等文本编辑器打开,进行编辑保存即可生效。
    文本内容如下,如果设置颜色,颜色的编号如下图:

    #SSH Secure Shell global settings file
    #SSH Communications Security Ltd
    File Version=S:3.20
    
    [Appearance]
    Show Toolbar=N:1
    Show Statusbar=N:1
    Caption Displays File Name=N:1
    Caption Displays Host Name=N:1
    Scrollback Buffer Size=N:500
    Show Add Profile Dialog=N:1
    Hide Add Profile Dialog after 5 sec=N:0
    Office XP Look=N:0
    Paste on Right Mouse Click=N:0
    Open all windows=N:1
    Scroll end on output=N:1
    
    [Font]
    Name=S:Terminal
    Size=N:14
    
    [Messages]
    Yes=S:Still connected - Exit?
    Yes=S:Save changes on exit?
    Banner=N:1
    
    [Firewall]
    Host Name=S:
    Port=N:1080
    Socks Version=N:4
    
    [Connection]
    Connection Timeout=N:0
    
    [External Keys]
    Disconnect Automatically When Token Is Removed=N:1
    Connect Automatically When Token Is Reinserted=N:1
    Seconds To Wait Before Disconnecting=N:0
    
    [PKI]
    LDAP Servers=S:
    Disable CRLs=N:0
    Import Directory=S:
    
    [File Transfer]
    Show files starting with period=N:0
    Show Root Folder=N:0
    List Display Mode=N:3
    Confirm Overwrite=N:1
    Close Progress Dialog on success=N:1
    Upload-Download Directory=S:
    Preserve file time=N:1
    Application to Execute=S:notepad.exe
    Time Formatting=S:%c
    Transfer Mode=N:2
    Ascii Extensions=S:txt,html,htm,bat
    Default File Permission Mask=S:644
    Default Directory Permission Mask=S:755
    Preserve Original File Permissions=N:1
    Number of Buffers=N:10
    Buffer Size=N:32
    Automatically Upload Locally Edited Remote Files=N:2
    Maximum Number of Simultaneous Transfers=N:2
    Default Folder=S:
    Favorite Folders=S:C:
    Favorite Folders=S:D:
    Favorite Folders=S:E:
    Layout=N:1
    Notify about errors=N:1
    Filebar button mode=N:0
    
    [Security]
    Clear ClipBoard=N:1
    Clear Scroll Buffer=N:0
    Warn about SSH1=N:1
    Disable password length masking in SSH1 Connections=N:0
    DisableVersionFallback=N:0
    Cert.RSA.Compat.HashScheme=S:md5
    
    #根据颜色编号进行设置
    [Colors]
    Foreground=N:0
    Background=N:7
    Disconnected=N:8
    Selection=N:3
    Cursor=N:13
    Reverse Video=N:0
    Ansi Colors=N:1
    
    [Help]
    Type=N:-1
    
    #修改预设颜色,就是颜色编号图中的颜色
    [Color Values]
    0 Black=H:00000000
    9 Red=H:000000FF
    10 Lime=H:0000FF00
    11 Yellow=H:0000FFFF
    12 Blue=H:00FF0000
    13 Fuschia=H:00FF00FF
    14 Aqua=H:00FFFF00
    15 White=H:00FFFFFF
    7 Silver=H:00CCCCCC
    1 Maroon=H:0000007F
    2 Green=H:00007F00
    3 Olive=H:00007F7F
    4 Navy=H:007F0000
    5 Purple=H:007F007F
    6 Teal=H:007F7F00
    8 Gray=H:007F7F7F
    
    #修改交互界面的字体样式和大小
    [Print Font]
    Name=S:Courier New
    Size=N:14
    
    [Print Margin]
    Top=N:10
    Bottom=N:10
    Left=N:10
    Rigth=N:10
    
    [Page Header]
    Title=N:1
    Date=N:1
    
    [Page Footer]
    Page Num=N:1
    
    [Log File]
    Default Directory=S:
    
    [Debugging]
    Enabled=N:0
    Level=S:
    File=S:
    File Size Limit=N:0
    Clear File on Startup=N:1

    如果要修改交互界面的初始位置和大小,请编辑default.ssh2

    #SSH Secure Shell host settings file
    #SSH Communications Security Ltd
    File Version=S:3.20
    
    #修改默认的连接IP
    [Connection]
    Host Name=S:111.111.111.111
    Port=N:22
    User Name=S:root
    Encryption=S:<Default>
    Encryption Cipher Size=S:128
    MAC=S:<Default>
    Compression=S:<None>
    Use Firewall=N:0
    Custom Cipher List=S:
    Rekey Interval=N:0
    Terminal Answerback=S:vt100
    Enable Terminal=N:1
    Quick Connect Method=N:0
    Authentication Methods=S:publickey,keyboard-interactive,password
    
    [Authentication]
    Public Key Authentication Methods=S:205431
    
    [File Transfer]
    Host Type=N:0
    Detect Windows Version String=N:1
    Default Folder=S:
    
    [General]
    Close window on session close=N:0
    
    [Keyboard]
    BSisDel=N:0
    DelisBS=N:0
    Line Wrap=N:1
    Line Feed=N:0
    Lock Function Keys=N:0
    Application Keypad=N:0
    Use Alt as Meta Key=N:0
    User Defined Keymap File=S:
    
    [Tunneling]
    X11=N:0
    Forward Agent in SSH2=N:1
    Forward Agent in SSH1=N:0
    Forward SSH1 agent in SSH2=N:0
    
    [Outgoing Tunnels]
    
    [Incoming Tunnels]
    
    #下面参数的含义,交互界面距离屏幕左边框900px,距离上边框50px,宽1000px,高950px。请根据自己的需要自行修改
    [Window Positions]
    Window=S:T 100 50 1000 950
    
    #如果要下面的设置生效,请将最后一行改为 Use Global Colors=N:0,否则将采用全局设置,即刚刚所做的颜色设置
    [Colors]
    Foreground=N:0
    Background=N:7
    Disconnected=N:8
    Selection=N:3
    Cursor=N:13
    Reverse Video=N:0
    Ansi Colors=N:1
    Use Global Colors=N:1
    

      

  • 相关阅读:
    ArcGIS API for JavaScript 学习笔记 (一) --第一个WebGIS应用程序
    C#学习之数据类型-(一:简介)
    用vs发布网站,IIS部署浏览网站的具体步骤。
    载入内存,让程序运转起来。
    placeholder的使用
    京东商城注册页使用的正则表达式(转)
    网站列表页竖直栏目图片灰色背景导航菜单代码
    CSS定义鼠标悬浮,图片出现边框
    生成虚线代码(小白自留)
    划过或点击下面带框的文本
  • 原文地址:https://www.cnblogs.com/xcloudbiz/p/5309828.html
Copyright © 2020-2023  润新知