<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SecureCRT &#8211; 良的世界</title>
	<atom:link href="https://www.lemonary.cn/tag/securecrt/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.lemonary.cn</link>
	<description></description>
	<lastBuildDate>Tue, 17 Dec 2024 03:11:25 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://www.lemonary.cn/wp-content/uploads/2024/12/profile-150x150.jpg</url>
	<title>SecureCRT &#8211; 良的世界</title>
	<link>https://www.lemonary.cn</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>SecureCRT软件的一些便捷的使用技巧</title>
		<link>https://www.lemonary.cn/securecrt%e8%bd%af%e4%bb%b6%e7%9a%84%e4%b8%80%e4%ba%9b%e4%be%bf%e6%8d%b7%e7%9a%84%e4%bd%bf%e7%94%a8%e6%8a%80%e5%b7%a7/</link>
					<comments>https://www.lemonary.cn/securecrt%e8%bd%af%e4%bb%b6%e7%9a%84%e4%b8%80%e4%ba%9b%e4%be%bf%e6%8d%b7%e7%9a%84%e4%bd%bf%e7%94%a8%e6%8a%80%e5%b7%a7/#respond</comments>
		
		<dc:creator><![CDATA[shine]]></dc:creator>
		<pubDate>Tue, 17 Dec 2024 03:11:22 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[SecureCRT]]></category>
		<guid isPermaLink="false">https://www.lemonary.cn/?p=1080</guid>

					<description><![CDATA[一、问题概述 用了多年的Xshell5，今天闲来无事安装了SecureCRT软件试试，还有些意外收获。用欲善其 [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading" id="一、问题概述">一、问题概述</h2>



<p class="wp-block-paragraph">用了多年的Xshell5，今天闲来无事安装了SecureCRT软件试试，还有些意外收获。用欲善其事必先利其器，接下来就记录一下今天了解的一些小技巧。</p>



<h2 class="wp-block-heading" id="二、技巧详述">二、技巧详述</h2>



<h3 class="wp-block-heading" id="2.1-默认会话">2.1 默认会话</h3>



<p class="wp-block-paragraph">SecureCRT软件同Xshell一样，可以配置软件启动时自动连接的会话，即默认会话。配置方法：</p>



<p class="wp-block-paragraph"><strong>Options——Global Options&#8230;——General——Default Session——Add&#8230;——选择想要添加的会话即可</strong></p>



<figure class="wp-block-image size-full"><img fetchpriority="high" decoding="async" width="911" height="826" src="https://www.lemonary.cn/wp-content/uploads/2024/12/image-65.png" alt="" class="wp-image-1081" srcset="https://www.lemonary.cn/wp-content/uploads/2024/12/image-65.png 911w, https://www.lemonary.cn/wp-content/uploads/2024/12/image-65-300x272.png 300w, https://www.lemonary.cn/wp-content/uploads/2024/12/image-65-768x696.png 768w" sizes="(max-width: 911px) 100vw, 911px" /></figure>



<p class="wp-block-paragraph">配置好后，下一次启动SecureCRT的时候软件就会自动连接该默认会话。</p>



<h3 class="wp-block-heading" id="2.2-按钮栏">2.2 按钮栏</h3>



<p class="wp-block-paragraph">按钮栏能够自定义按钮，将一些常用的命令添加到按钮中，例如查看当前CPU和内存使用率，切换用户等等命令。配置完成后，便可用点击按钮来代替手动敲击命令，非常地方便。</p>



<p class="wp-block-paragraph">View——Button Bar</p>



<figure class="wp-block-image size-full"><img decoding="async" width="282" height="641" src="https://www.lemonary.cn/wp-content/uploads/2024/12/image-66.png" alt="" class="wp-image-1082" srcset="https://www.lemonary.cn/wp-content/uploads/2024/12/image-66.png 282w, https://www.lemonary.cn/wp-content/uploads/2024/12/image-66-132x300.png 132w" sizes="(max-width: 282px) 100vw, 282px" /></figure>



<p class="wp-block-paragraph">开启后，便可从下方看到按钮栏，右键即可添加按钮</p>



<figure class="wp-block-image size-full"><img decoding="async" width="856" height="193" src="https://www.lemonary.cn/wp-content/uploads/2024/12/image-68.png" alt="" class="wp-image-1084" srcset="https://www.lemonary.cn/wp-content/uploads/2024/12/image-68.png 856w, https://www.lemonary.cn/wp-content/uploads/2024/12/image-68-300x68.png 300w, https://www.lemonary.cn/wp-content/uploads/2024/12/image-68-768x173.png 768w" sizes="(max-width: 856px) 100vw, 856px" /></figure>



<p class="wp-block-paragraph">示例</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="771" height="453" src="https://www.lemonary.cn/wp-content/uploads/2024/12/image-71.png" alt="" class="wp-image-1087" srcset="https://www.lemonary.cn/wp-content/uploads/2024/12/image-71.png 771w, https://www.lemonary.cn/wp-content/uploads/2024/12/image-71-300x176.png 300w, https://www.lemonary.cn/wp-content/uploads/2024/12/image-71-768x451.png 768w" sizes="auto, (max-width: 771px) 100vw, 771px" /></figure>



<blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
<p class="wp-block-paragraph">注意：如按上图输入，点击按钮时，free -m命令并不会直接执行，还需敲击回车，所以如果想要让命令直接执行，需要在命令后接上一个\r（上图Send String commands下是部分特殊字符的标识，例如\r表示回车）。故：</p>
</blockquote>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="771" height="453" src="https://www.lemonary.cn/wp-content/uploads/2024/12/image-72.png" alt="" class="wp-image-1088" srcset="https://www.lemonary.cn/wp-content/uploads/2024/12/image-72.png 771w, https://www.lemonary.cn/wp-content/uploads/2024/12/image-72-300x176.png 300w, https://www.lemonary.cn/wp-content/uploads/2024/12/image-72-768x451.png 768w" sizes="auto, (max-width: 771px) 100vw, 771px" /></figure>



<p class="wp-block-paragraph">便可以实现点击按钮快速查看内存使用情况，点击OK，即新增按钮成功。</p>



<h3 class="wp-block-heading" id="2.3-反空闲">2.3 反空闲</h3>



<p class="wp-block-paragraph">在连接某些设备时，如果一段时间内设备没有收到输入，就会自动断开连接。此时，我们可以通过设置反空闲，让SecureCRT定时发送一个反空闲字符，一般情况下，此字符采用空格键。为了让大家看清，我此处配置的是回车，如下图：</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="829" height="756" src="https://www.lemonary.cn/wp-content/uploads/2024/12/image-73.png" alt="" class="wp-image-1089" srcset="https://www.lemonary.cn/wp-content/uploads/2024/12/image-73.png 829w, https://www.lemonary.cn/wp-content/uploads/2024/12/image-73-300x274.png 300w, https://www.lemonary.cn/wp-content/uploads/2024/12/image-73-768x700.png 768w" sizes="auto, (max-width: 829px) 100vw, 829px" /></figure>



<p class="wp-block-paragraph">如果配置空格，就直接在填框里输入一个空格即可。</p>



<h2 class="wp-block-heading" id="三、总结">三、总结</h2>



<p class="wp-block-paragraph">目前只了解到这三个比较实用的功能，后续使用，如有发现新功能，随时添加到本文章。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.lemonary.cn/securecrt%e8%bd%af%e4%bb%b6%e7%9a%84%e4%b8%80%e4%ba%9b%e4%be%bf%e6%8d%b7%e7%9a%84%e4%bd%bf%e7%94%a8%e6%8a%80%e5%b7%a7/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
