Table of Contents
1      帐号密码保存。
2      复制和粘贴
3      将当前Shell中的内容复制到“记事本”中
4      快速选择当前行
5      快速打开Sessions对话框
6      迁移连接信息
7      最小化到系统托盘
8      退出时总是弹出烦人的确认对话框
9      在打开的Tab中快速切换
10  数字小键盘输入。
11  设置文字颜色。
12  设置命令快捷按钮
13  同一命令发送到多个ssh会话
14  上传下载。
15  窗口透明
16  通过代理登陆vps
Home Database Mysql Tutorial XShell技巧分享

XShell技巧分享

Jun 07, 2016 pm 03:41 PM
xshell keep share Can Multiple password Skill

1 帐号密码保存。 可以保存多个vps登陆信息,免去每次输入的烦恼。 2 复制和粘贴 由于在linux的Shell下,Ctrlc是中断当前指令,这个快捷键和windows下的复制快捷键冲突,所以经常犯错误。。。想复制的时候按了ctrlc,结果中断了当前指令。 在Xshell中,提供

1      帐号密码保存。

可以保存多个vps登陆信息,免去每次输入的烦恼。

XShell技巧分享

2      复制和粘贴

由于在linux的Shell下,Ctrl+c是中断当前指令,这个快捷键和windows下的复制快捷键冲突,所以经常犯错误。。。想复制的时候按了ctrl+c,结果中断了当前指令。

在Xshell中,提供了其它的快捷键来执行这些操作:

复制:Ctrl+Insert

粘贴:Shift+Insert

粘贴还有一个键就是鼠标中键,另外你还可以设置点鼠标右键就是粘贴,设置选项在这:

XShell技巧分享

3      将当前Shell中的内容复制到“记事本”中

有时候需要把shell中的一些内容临时复制到“记事本”中,如果再打开一个记事本,再复制粘贴。。。多麻烦。

XShell中内置了这一功能,使用很简单,就是选中内容,鼠标右键,选择“To Notepad”,再选中“SelectArea”或者“All”或者“Screen”,如图:

XShell技巧分享

4      快速选择当前行

这个技巧很简单,就是在shell界面下快速点三次鼠标就选中当前行了。如图:

XShell技巧分享

5      快速打开Sessions对话框

有时候打开XShell后希望能直接打开Sessions对话框,这时候只要在Shell界面输入open即可。如图:

XShell技巧分享

6      迁移连接信息

在XShel中,每个保存的Session连接信息都是保存到.xsh(就是ini文件,可以用文本编辑器打开)文件中的。它的默认路径是”%APPDATA%\NetSarang\Xshell\Sessions”即:C:\Users\用户名\AppData\Roaming\NetSarang\Xshell\Sessions迁移连接信息直接拷贝这些xsh文件即可。

7      最小化到系统托盘

XShell默认最小化是不会到系统托盘的,但是有个选项可以修改,设置在:Tools→Options→Advanced→Minimize to system tray 打钩即可。

XShell技巧分享

8      退出时总是弹出烦人的确认对话框

选择在这:Tools→Options→Advanced→Confirmconnection close when session exits

还有一个:Tools→Options→Advanced→Confirmconnection close when XShell exits

XShell技巧分享

9      在打开的Tab中快速切换

快捷键:Alt+1~9 或者Ctrl+Tab 或者Shift+Tab

设置:Tools→Options→Menu & Short Keys

XShell技巧分享

10  数字小键盘输入。

如果不设置的话,输入数字小键盘,会显示乱码。如图设置即可:

XShell技巧分享

11  设置文字颜色。

如图设置,就可以得到像黑客帝国那样绿色的文字,在你编译软件的时候,是不是恍然若见那华丽丽的数字瀑布?

XShell技巧分享

12  设置命令快捷按钮

当你管理多个vps或者经常操作vps的时候,不得不重复输入相同的命令,xshell可以设置快捷按钮,一键输入你设置的命令。

XShell技巧分享

13  同一命令发送到多个ssh会话

也就是发送同一命令到已经登陆的多个vps。

XShell技巧分享

14  上传下载。

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

vps里面安装:

apt-get install lrzsz

然后设置:

用法:

ssh输入

sz 文件名

即可下载vps里面的文件到本地。

ssh输入

rz

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

 XShell技巧分享

15  窗口透明

鼠标右键粘贴可将本地粘贴板内容复制到vps

Tools – Options

XShell技巧分享

16  通过代理登陆vps

个人觉得这个很重要。比如你买burst.net的vps做英文站,西岸的vps到国内速度快,但是国人买的多,折腾的也多,不如东岸的

稳定。但是用ssh登陆东岸vps,国内速度又很慢,这个时候加个代理,比如buyvm或者burst.net西岸的代理,访问东岸速度就有很大改善。

 XShell技巧分享

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Roblox: Bubble Gum Simulator Infinity - How To Get And Use Royal Keys
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
Nordhold: Fusion System, Explained
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
Mandragora: Whispers Of The Witch Tree - How To Unlock The Grappling Hook
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Hot Topics

Java Tutorial
1677
14
PHP Tutorial
1279
29
C# Tutorial
1257
24
How to solve the problem that Windows 11 prompts you to enter the administrator username and password to continue? How to solve the problem that Windows 11 prompts you to enter the administrator username and password to continue? Apr 11, 2024 am 09:10 AM

When using Win11 system, sometimes you will encounter a prompt that requires you to enter the administrator username and password. This article will discuss how to deal with this situation. Method 1: 1. Click [Windows Logo], then press [Shift+Restart] to enter safe mode; or enter safe mode this way: click the Start menu and select Settings. Select "Update and Security"; select "Restart Now" in "Recovery"; after restarting and entering the options, select - Troubleshoot - Advanced Options - Startup Settings -&mdash

How to save pictures without watermark in Xiaohongshu How to save pictures without watermark in Xiaohongshu How to save pictures without watermark in Xiaohongshu How to save pictures without watermark in Xiaohongshu Mar 22, 2024 pm 03:40 PM

Xiaohongshu has rich content that everyone can view freely here, so that you can use this software to relieve boredom every day and help yourself. In the process of using this software, you will sometimes see various beautiful things. Many people want to save pictures, but the saved pictures have watermarks, which is very influential. Everyone wants to know how to save pictures without watermarks here. The editor provides you with a method for those in need. Everyone can understand and use it immediately! 1. Click the "..." in the upper right corner of the picture to copy the link 2. Open the WeChat applet 3. Search the sweet potato library in the WeChat applet 4. Enter the sweet potato library and confirm to get the link 5. Get the picture and save it to the mobile phone album

How to set router WiFi password using mobile phone (using mobile phone as tool) How to set router WiFi password using mobile phone (using mobile phone as tool) Apr 24, 2024 pm 06:04 PM

Wireless networks have become an indispensable part of people's lives in today's digital world. Protecting the security of personal wireless networks is particularly important, however. Setting a strong password is key to ensuring that your WiFi network cannot be hacked by others. To ensure your network security, this article will introduce in detail how to use your mobile phone to change the router WiFi password. 1. Open the router management page - Open the router management page in the mobile browser and enter the router's default IP address. 2. Enter the administrator username and password - To gain access, enter the correct administrator username and password in the login page. 3. Navigate to the wireless settings page - find and click to enter the wireless settings page, in the router management page. 4. Find the current Wi

Incorrect password, beware BitLocker warning Incorrect password, beware BitLocker warning Mar 26, 2024 am 09:41 AM

This article will explore how to solve the problem of wrong password, especially the need to be careful when dealing with BitLocker warnings. This warning is triggered when an incorrect password is entered multiple times in BitLocker to unlock the drive. Usually, this warning occurs because the system has a policy that limits incorrect login attempts (usually three login attempts are allowed). In this case, the user will receive an appropriate warning message. The complete warning message is as follows: The password entered is incorrect. Please note that continuously entering incorrect passwords will cause the account to be locked. This is to protect the security of your data. If you need to unlock your account, you will need to use a BitLocker recovery key. The password is incorrect, beware the BitLocker warning you receive when you log in to your computer

How to share NetEase Cloud Music to WeChat Moments_Tutorial on sharing NetEase Cloud Music to WeChat Moments How to share NetEase Cloud Music to WeChat Moments_Tutorial on sharing NetEase Cloud Music to WeChat Moments Mar 25, 2024 am 11:41 AM

1. First, we enter NetEase Cloud Music, and then click on the software homepage interface to enter the song playback interface. 2. Then in the song playback interface, find the sharing function button in the upper right corner, as shown in the red box in the figure below, click to select the sharing channel; in the sharing channel, click the "Share to" option at the bottom, and then select the first "WeChat Moments" allows you to share content to WeChat Moments.

Win11 Tips Sharing: Skip Microsoft Account Login with One Trick Win11 Tips Sharing: Skip Microsoft Account Login with One Trick Mar 27, 2024 pm 02:57 PM

Win11 Tips Sharing: One trick to skip Microsoft account login Windows 11 is the latest operating system launched by Microsoft, with a new design style and many practical functions. However, for some users, having to log in to their Microsoft account every time they boot up the system can be a bit annoying. If you are one of them, you might as well try the following tips, which will allow you to skip logging in with a Microsoft account and enter the desktop interface directly. First, we need to create a local account in the system to log in instead of a Microsoft account. The advantage of doing this is

How to share files with friends on Baidu Netdisk How to share files with friends on Baidu Netdisk Mar 25, 2024 pm 06:52 PM

Recently, Baidu Netdisk Android client has ushered in a new version 8.0.0. This version not only brings many changes, but also adds many practical functions. Among them, the most eye-catching is the enhancement of the folder sharing function. Now, users can easily invite friends to join and share important files in work and life, achieving more convenient collaboration and sharing. So how do you share the files you need to share with your friends? Below, the editor of this site will give you a detailed introduction. I hope it can help you! 1) Open Baidu Cloud APP, first click to select the relevant folder on the homepage, and then click the [...] icon in the upper right corner of the interface; (as shown below) 2) Then click [+] in the "Shared Members" column 】, and finally check all

Tutorial on changing wifi password on mobile phone (simple operation) Tutorial on changing wifi password on mobile phone (simple operation) Apr 26, 2024 pm 06:25 PM

Wireless networks have become an indispensable part of our lives with the rapid development of the Internet. In order to protect personal information and network security, it is very important to change your wifi password regularly, however. To help you better protect your home network security, this article will introduce you to a detailed tutorial on how to use your mobile phone to change your WiFi password. 1. Understand the importance of WiFi passwords. WiFi passwords are the first line of defense to protect personal information and network security. In the Internet age, understanding its importance can better understand why passwords need to be changed regularly. 2. Confirm that the phone is connected to wifi. First, make sure that the phone is connected to the wifi network whose password you want to change before changing the wifi password. 3. Open the phone’s settings menu and enter the phone’s settings menu.

See all articles