Ten tips for xshell

xshell is the best ssh client tool I've ever used, bar none. This software is completely free, easy to use, and can meet all the needs of managing linux vps through ssh. The only regret is that there is no official Chinese version.

Warning: Do not download the so-called Chinese version, there may be Trojan horses. There have been previous reports of password theft using a Chinese copycat version. Official website download address: http://www.netsarang.com/download/down_xsh.html Here are a few tips. 1. Save the account password. You can save multiple vps login information, eliminating the trouble of entering each time. Second, the numeric keypad input. If it is not set, enter the numeric keypad, it will display garbled characters. Set as shown in the figure: 3. Set the text color. As shown in the picture, you can get green text like The Matrix. When you compile the software, do you suddenly see that gorgeous digital waterfall? 4. Set command shortcut buttons When you manage multiple vps or operate vps frequently, you have to enter the same command repeatedly. xshell can set shortcut buttons to enter the command you set with one click. Share a few common commands: Download the damnp one-click package written by this blog and optimize the system: wget http://linux-bash.googlecode.com/files/damnp-actgod.sh;bash damnp-actgod.sh systemView Current network connection: netstat -antp hard disk performance test: dd if=/dev/zero of=test bs=64k count=512 oflag=dsync 




 
























五、同一命令发送到多个ssh会话。
也就是发送同一命令到已经登陆的多个vps。


六、通过代理登陆vps
个人觉得这个很重要。比如你买burst.net的vps做英文站,西岸的vps到国内速度快,但是国人买的多,折腾的也多,不如东岸的稳定。但是用ssh登陆东岸vps,国内速度又很慢,这个时候加个代理,比如buyvm或者burst.net西岸的代理,访问东岸速度就有很大改善。


八、设置socks5代理服务器。
这里设置好之后,就可以在浏览器设置代理为socks5类型,访问facebook等墙外网站


九、上传下载。
在vps里面安装rz、sz,就可以直接上传下载文件,不用sftp或者其他上传下载工具了。这对于下载上传小型文件非常方便,比如编辑配置文件啥的。
vps里面安装:
apt-get install lrzsz
然后设置:


用法:
ssh输入
sz 文件名
即可下载vps里面的文件到本地。

ssh输入
rz 
就会跳出窗口让你选择上传的文件,然后上传。

十、窗口透明和鼠标右键粘贴
鼠标右键粘贴可将本地粘贴板内容复制到vps
Tools - Options
 

 

文献出自:http://blog.chinaunix.net/uid-21855486-id-3482985.html

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327019115&siteId=291194637