<?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>ssh &#8211; LPC影子技术分享</title>
	<atom:link href="https://www.mudbest.com/tag/ssh/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.mudbest.com</link>
	<description>行影不离,忘之却步.</description>
	<lastBuildDate>Fri, 01 Feb 2013 08:54:14 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.2</generator>
	<item>
		<title>Ubuntu下解决SSH Secure Shell Client链接ssh中文乱码</title>
		<link>https://www.mudbest.com/ubuntu%e4%b8%8b%e8%a7%a3%e5%86%b3ssh-secure-shell-client%e9%93%be%e6%8e%a5ssh%e4%b8%ad%e6%96%87%e4%b9%b1%e7%a0%81/</link>
		
		<dc:creator><![CDATA[hkshadow]]></dc:creator>
		<pubDate>Fri, 01 Feb 2013 08:54:14 +0000</pubDate>
				<category><![CDATA[分享]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[ssh乱码]]></category>
		<guid isPermaLink="false">http://www.mudbest.com/?p=1764</guid>

					<description><![CDATA[这是由于ubuntu系统默认是utf-8，而我们用SSH Secure Shell Client打开的编码是g ... <a title="Ubuntu下解决SSH Secure Shell Client链接ssh中文乱码" class="read-more" href="https://www.mudbest.com/ubuntu%e4%b8%8b%e8%a7%a3%e5%86%b3ssh-secure-shell-client%e9%93%be%e6%8e%a5ssh%e4%b8%ad%e6%96%87%e4%b9%b1%e7%a0%81/" aria-label="阅读 Ubuntu下解决SSH Secure Shell Client链接ssh中文乱码">阅读更多</a>]]></description>
										<content:encoded><![CDATA[<p>这是由于ubuntu系统默认是utf-8，而我们用SSH Secure Shell Client打开的编码是gbk，当浏览一个带有中文的文件就会出现乱码，对修改文件的人则是件头痛的事情，而SSH Secure Shell Client的使用便捷是无法被轻易替代的，虽然有Putty和SecureCRT，ftp也有Filezilla，但是这些操作都太过于繁琐了，以下方式则解决了乱码问题。其他linux也可通用。</p>
<p>在linux的当前用户目录后，输入ls -a查看隐藏的文件，则会有一个.profile或者.bash_profile，Ubuntu下是.profile，其他linux可能是.bash_profile，八九不离十吧。</p>
<p>修改如下：<span id="more-1764"></span></p>
<pre class="brush: plain; title: ; notranslate">
# ~/.profile: executed by Bourne-compatible login shells.

if &#x5B; &quot;$BASH&quot; ]; then
  if &#x5B; -f ~/.bashrc ]; then
    . ~/.bashrc
  fi
fi

mesg n
</pre>
<p>在里面增加</p>
<pre class="brush: plain; title: ; notranslate">
LANG=zh_CN.GB2312
export LANG
</pre>
<p>即可解决乱码问题。</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
