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

SSH Secure Shell Client下载
其他工具(putty-0.67)下载
如果是第一次启用是没有global.dat文件的,只有你打开了客户端并关闭后才会产生。

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

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

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

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

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

# SSH Secure Shell host settings file# SSH Communications Security LtdFile Version=S:3.20# 修改默认的连接IP[Connection]Host Name=S:111.111.111.111Port=N:22User Name=S:rootEncryption=S:Encryption Cipher Size=S:128MAC=S:Compression=S:Use Firewall=N:0Custom Cipher List=S:Rekey Interval=N:0Terminal Answerback=S:vt100Enable Terminal=N:1Quick Connect Method=N:0Authentication Methods=S:publickey,keyboard-interactive,password[Authentication]Public Key Authentication Methods=S:205431[File Transfer]Host Type=N:0Detect Windows Version String=N:1Default Folder=S:[General]Close window on session close=N:0[Keyboard]BSisDel=N:0DelisBS=N:0Line Wrap=N:1Line Feed=N:0Lock Function Keys=N:0Application Keypad=N:0Use Alt as Meta Key=N:0User Defined Keymap File=S:[Tunneling]X11=N:0Forward Agent in SSH2=N:1Forward Agent in SSH1=N:0Forward 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:0Background=N:7Disconnected=N:8Selection=N:3Cursor=N:13Reverse Video=N:0Ansi Colors=N:1Use Global Colors=N:1

关键字:ssh


本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!

立即
投稿

微信公众账号

微信扫一扫加关注

返回
顶部