<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	>
<channel>
	<title>Comments on: 通过SSH访问服务器的service</title>
	<atom:link href="http://www.robinlu.com/blog/archives/186/feed" rel="self" type="application/rss+xml" />
	<link>http://www.robinlu.com/blog/archives/186</link>
	<description>Robin Lu's weblog</description>
	<pubDate>Sat, 13 Mar 2010 00:38:04 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: 美金</title>
		<link>http://www.robinlu.com/blog/archives/186/comment-page-1#comment-58463</link>
		<dc:creator>美金</dc:creator>
		<pubDate>Tue, 25 Nov 2008 08:12:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.robinlu.com/blog/archives/186#comment-58463</guid>
		<description>受教，刚才没看仔细man。</description>
		<content:encoded><![CDATA[<p>受教，刚才没看仔细man。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robin Lu</title>
		<link>http://www.robinlu.com/blog/archives/186/comment-page-1#comment-58462</link>
		<dc:creator>Robin Lu</dc:creator>
		<pubDate>Tue, 25 Nov 2008 08:07:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.robinlu.com/blog/archives/186#comment-58462</guid>
		<description>在这种情况，两个是一样的。
这个localhost是从yourserver.com这台机器上看出去的localhost，其实就是yourserver.com这台机器。只要可以，建议用localhost代替yourserver.com，从TCP连接的角度，这样在你的服务器上，走的是loopback interface，即安全，又节约。
当然，如果你是要通过yourserver.com连接内网的另一台机器，就需要提供那台机器的地址了。</description>
		<content:encoded><![CDATA[<p>在这种情况，两个是一样的。<br />
这个localhost是从yourserver.com这台机器上看出去的localhost，其实就是yourserver.com这台机器。只要可以，建议用localhost代替yourserver.com，从TCP连接的角度，这样在你的服务器上，走的是loopback interface，即安全，又节约。<br />
当然，如果你是要通过yourserver.com连接内网的另一台机器，就需要提供那台机器的地址了。</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 美金</title>
		<link>http://www.robinlu.com/blog/archives/186/comment-page-1#comment-58458</link>
		<dc:creator>美金</dc:creator>
		<pubDate>Tue, 25 Nov 2008 07:14:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.robinlu.com/blog/archives/186#comment-58458</guid>
		<description>ssh -L2000:localhost:2812 username@yourserver.com 是否应该为：
ssh -L2000:yourserver.com:2812 username@yourserver.com</description>
		<content:encoded><![CDATA[<p>ssh -L2000:localhost:2812 <a href="mailto:username@yourserver.com">username@yourserver.com</a> 是否应该为：<br />
ssh -L2000:yourserver.com:2812 <a href="mailto:username@yourserver.com">username@yourserver.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 关于搭建网站服务器的一些建议 - 石锅拌饭 - 互联网 Mac &#38; 软件开发</title>
		<link>http://www.robinlu.com/blog/archives/186/comment-page-1#comment-58452</link>
		<dc:creator>关于搭建网站服务器的一些建议 - 石锅拌饭 - 互联网 Mac &#38; 软件开发</dc:creator>
		<pubDate>Tue, 25 Nov 2008 05:10:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.robinlu.com/blog/archives/186#comment-58452</guid>
		<description>[...] 这个话题能写一本书。我这只讲一个原则，就是能关掉的端口就关掉。一个网站只需要打开两个端口，一个给http，一个给ssh。上线前用nmap扫一遍，看有没有漏开的端口。 ssh也不要用缺省端口，并且禁止密码登录，只打开PubKeyAuthentication。ssh是个很万能的东西，你可以通过它访问防火墙内的端口，上传文件，运行命令，干什么都够了。 [...]</description>
		<content:encoded><![CDATA[<p>[...] 这个话题能写一本书。我这只讲一个原则，就是能关掉的端口就关掉。一个网站只需要打开两个端口，一个给http，一个给ssh。上线前用nmap扫一遍，看有没有漏开的端口。 ssh也不要用缺省端口，并且禁止密码登录，只打开PubKeyAuthentication。ssh是个很万能的东西，你可以通过它访问防火墙内的端口，上传文件，运行命令，干什么都够了。 [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
