<?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>Marshal&#039;s Blog &#187; ssh</title>
	<atom:link href="http://marshal.easymorse.com/archives/tag/ssh/feed" rel="self" type="application/rss+xml" />
	<link>http://marshal.easymorse.com</link>
	<description>It&#039;s swap of marshal&#039;s memory.</description>
	<lastBuildDate>Mon, 30 Jan 2012 07:03:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>SSH Secure Shell Client的替代方案</title>
		<link>http://marshal.easymorse.com/archives/1390?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ssh-secure-shell-client%25e7%259a%2584%25e6%259b%25bf%25e4%25bb%25a3%25e6%2596%25b9%25e6%25a1%2588</link>
		<comments>http://marshal.easymorse.com/archives/1390#comments</comments>
		<pubDate>Tue, 30 Jun 2009 02:41:43 +0000</pubDate>
		<dc:creator>Marshal</dc:creator>
				<category><![CDATA[计算机技术]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://marshal.easymorse.com/archives/1390</guid>
		<description><![CDATA[一直使用SSH Secure Shell Client，该软件是免费的SSH远程登录软件。缺点是使用本地编码，比如windows是GBK，那么登录就是通过GBK连接，这样如果服务器编码是UTF-8，会产生中文乱码，比如： 当需要阅读中文信息的时候就很麻烦。因为现在越来越多的软件或者类库使用通用的UTF-8编码。 目前使用的替代方案是，使用putty： http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html 该工具是开源免费的，虽然比SSH Secure Shell Client简陋，但是支持设置编码，而且很小，可以放在U盘中随时使用。 如果不设置编码，默认是系统本地编码，在vista下就是GB18030，设置界面如下： 设置后，就可以显示utf-8编码的中文信息了： 另外，就是SSH Secure Shell Client支持图形化的SFTP，用于文件的上传和下载，这个功能比较有用，putty只提供了一个命令行的sftp客户端。 可以使用另外的工具实现图形化sftp，比如filezilla，下载地址： http://filezilla-project.org/download.php?type=client 下载客户端即可，filezilla还提供了ftp的服务器端。可以下载绿色版本的，或者下载按照官方推荐的windows安装版。该工具的截图：]]></description>
			<content:encoded><![CDATA[<p>一直使用SSH Secure Shell Client，该软件是免费的SSH远程登录软件。缺点是使用本地编码，比如windows是GBK，那么登录就是通过GBK连接，这样如果服务器编码是UTF-8，会产生中文乱码，比如：</p>
<p><a href="http://marshal.easymorse.com/wp-content/uploads/2009/06/sshencoding1.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="97" alt="ssh.encoding1" src="http://marshal.easymorse.com/wp-content/uploads/2009/06/sshencoding1-thumb.png" width="450" border="0"></a></p>
<p><span id="more-1390"></span>
<p>当需要阅读中文信息的时候就很麻烦。因为现在越来越多的软件或者类库使用通用的UTF-8编码。</p>
<p>目前使用的替代方案是，使用putty：</p>
<blockquote><p><a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html">http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html</a></p>
</blockquote>
<p>该工具是开源免费的，虽然比SSH Secure Shell Client简陋，但是支持设置编码，而且很小，可以放在U盘中随时使用。</p>
<p>如果不设置编码，默认是系统本地编码，在vista下就是GB18030，设置界面如下：</p>
<p><a href="http://marshal.easymorse.com/wp-content/uploads/2009/06/sshencoding3.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="243" alt="ssh.encoding3" src="http://marshal.easymorse.com/wp-content/uploads/2009/06/sshencoding3-thumb.png" width="419" border="0"></a> </p>
<p>设置后，就可以显示utf-8编码的中文信息了：</p>
<p><a href="http://marshal.easymorse.com/wp-content/uploads/2009/06/sshencoding2.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="82" alt="ssh.encoding2" src="http://marshal.easymorse.com/wp-content/uploads/2009/06/sshencoding2-thumb.png" width="430" border="0"></a> </p>
<p>另外，就是SSH Secure Shell Client支持图形化的SFTP，用于文件的上传和下载，这个功能比较有用，putty只提供了一个命令行的sftp客户端。</p>
<p>可以使用另外的工具实现图形化sftp，比如filezilla，下载地址：</p>
<blockquote><p><a href="http://filezilla-project.org/download.php?type=client">http://filezilla-project.org/download.php?type=client</a></p>
</blockquote>
<p>下载客户端即可，filezilla还提供了ftp的服务器端。可以下载绿色版本的，或者下载按照官方推荐的windows安装版。该工具的截图：</p>
<p><a href="http://marshal.easymorse.com/wp-content/uploads/2009/06/sshencoding4.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="258" alt="ssh.encoding4" src="http://marshal.easymorse.com/wp-content/uploads/2009/06/sshencoding4-thumb.png" width="449" border="0"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://marshal.easymorse.com/archives/1390/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>使用eclipse sftp插件</title>
		<link>http://marshal.easymorse.com/archives/1089?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=%25e4%25bd%25bf%25e7%2594%25a8eclipse-sftp%25e6%258f%2592%25e4%25bb%25b6</link>
		<comments>http://marshal.easymorse.com/archives/1089#comments</comments>
		<pubDate>Mon, 07 Jul 2008 10:15:53 +0000</pubDate>
		<dc:creator>Marshal</dc:creator>
				<category><![CDATA[计算机技术]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[sftp]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://marshal.easymorse.com/archives/1089</guid>
		<description><![CDATA[通过ssh客户端和vi编辑文件，有时候还是不方便，比如输入中文。测试使用了一个eclipse sftp插件，目前使用良好。网址： http://www.jcraft.com/eclipse-sftp/index.html 安装过程比较简单，通过eclipse的在线安装，网址是： http://eclipse.jcraft.com 启动插件： 创建连接： 设置ssh服务器连接： 保持上述设置，连接ssh服务器，第一次需要接受服务器的密匙文件。 使用sftp插件，在eclipse界面中编写的文件将会自动同步到服务器端： 中文问题。在windows系统中，默认情况下，发送到服务器上的包含中文的内容是乱码。需要设置连接的属性（properties），注意必须断开连接方可设置。设置为gbk：]]></description>
			<content:encoded><![CDATA[<p>通过ssh客户端和vi编辑文件，有时候还是不方便，比如输入中文。测试使用了一个eclipse sftp插件，目前使用良好。网址：</p>
<blockquote><p><a href="http://www.jcraft.com/eclipse-sftp/index.html">http://www.jcraft.com/eclipse-sftp/index.html</a></p>
</blockquote>
<p>安装过程比较简单，通过eclipse的在线安装，网址是：</p>
<blockquote><p><a href="http://eclipse.jcraft.com">http://eclipse.jcraft.com</a></p>
</blockquote>
<p> <span id="more-1089"></span>
<p>启动插件：</p>
<p><a href="http://marshal.easymorse.com/wp-content/uploads/2009/01/sss1.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="304" alt="sss1" src="http://marshal.easymorse.com/wp-content/uploads/2009/01/sss1-thumb.png" width="285" border="0" /></a> </p>
<p>创建连接：</p>
<p><a href="http://marshal.easymorse.com/wp-content/uploads/2009/01/sss2.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="266" alt="sss2" src="http://marshal.easymorse.com/wp-content/uploads/2009/01/sss2-thumb.png" width="356" border="0" /></a> </p>
<p>设置ssh服务器连接：</p>
<p><a href="http://marshal.easymorse.com/wp-content/uploads/2009/01/sss3.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="214" alt="sss3" src="http://marshal.easymorse.com/wp-content/uploads/2009/01/sss3-thumb.png" width="376" border="0" /></a> </p>
<p>保持上述设置，连接ssh服务器，第一次需要接受服务器的密匙文件。</p>
<p>使用sftp插件，在eclipse界面中编写的文件将会自动同步到服务器端：</p>
<p><a href="http://marshal.easymorse.com/wp-content/uploads/2009/01/sss4.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="249" alt="sss4" src="http://marshal.easymorse.com/wp-content/uploads/2009/01/sss4-thumb.png" width="392" border="0" /></a> </p>
<p>中文问题。在windows系统中，默认情况下，发送到服务器上的包含中文的内容是乱码。需要设置连接的属性（properties），注意必须断开连接方可设置。设置为gbk：</p>
<p><a href="http://marshal.easymorse.com/wp-content/uploads/2009/01/sss5.png"><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="332" alt="sss5" src="http://marshal.easymorse.com/wp-content/uploads/2009/01/sss5-thumb.png" width="354" border="0" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://marshal.easymorse.com/archives/1089/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

