首页 > 代码库 > 如何让secureCRT显示Linux的颜色及使用SecureCRT传输文件

如何让secureCRT显示Linux的颜色及使用SecureCRT传输文件

一、SecureCRT设置彩色和显示中文

设置Options->SessionOptions ->Emulation,然后把Terminal类型改成ANSI or linux or xterm,必须钩上 ANSI Colour。

字体设置:Options->SessionOptions->Appearance->font然后改成你想要的字体就可以了。

注意:

1:字符集选择utf8,这样可以避免显示汉字乱码

2:选择字体的时候,需要选择ture type的字体(如新宋体),不然会出现汉字乱码

3:scrollback buffer 调大(5000),这样你就可以看到以前显示内容,这样方便很多

4:terminal要选择xtem,这样你ssh到服务器上才能显示颜色,并把ANSI Color打上勾

5:我选择的颜色方案Windows或Traditional。


二、用SecureCRT(Linux)来上传和下载数据

设置一下上传和下载的默认目录就行

options–>session options–>file transfer 下可以设置上传和下载的目录

剩下的你只要在用SecureCRT登陆linux终端的时候:

发送文件到windows客户端:sz file1 file2

zmodem接收可以自行启动.

从客户端上传文件到linux服务端:

只要服务端执行 : rz(rz -y)

然后在 SecureCRT 里选文件发送,协议 zmodem

简单吧,如果你以前一直使用ssh,而又没有对外开放ftp服务,你就直接使用这种方式来传输你的文件

SecureCRT的帮助中copy的:

ZModem is a full-duplex file transfer protocol that supports fast data transfer rates and effective error detection. ZModem is very user friendly, allowing either the sending or receiving party to initiate a file transfer. ZModem supports multiple file ("batch") transfers, and allows the use of wildcards when specifying filenames. ZModem also supports resuming most prior ZModem file transfer attempts.

rz,sz是便是Linux/Unix同Windows进行ZModem文件传输的命令行工具

PS:Linux上rz/sz这两个小工具安装lrzsz-x.x.xx.rpm即可,Unix可用源码自行 编译,Solaris spac的可以到sunfreeware下载执行码


如何让secureCRT显示Linux的颜色及使用SecureCRT传输文件