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

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

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

clipboard.png

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

clipboard.png

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

clipboard.png

#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]
Black=H:00000000
Red=H:000000FF
Lime=H:0000FF00
Yellow=H:0000FFFF
Blue=H:00FF0000
Fuschia=H:00FF00FF
Aqua=H:00FFFF00
White=H:00FFFFFF
Silver=H:00CCCCCC
Maroon=H:0000007F
Green=H:00007F00
Olive=H:00007F7F
Navy=H:007F0000
Purple=H:007F007F
Teal=H:007F7F00
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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值