<?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>知易行难,知行合一 (Walk the Talk) &#187; ssh</title>
	<atom:link href="http://blog.alwayst.info/tag/ssh/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.alwayst.info</link>
	<description>Blocked in China since Jan 6, 2011</description>
	<lastBuildDate>Mon, 12 Dec 2011 07:07:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Dropbox扩容详尽指南</title>
		<link>http://blog.alwayst.info/enlarge-the-capacity-of-dropbox</link>
		<comments>http://blog.alwayst.info/enlarge-the-capacity-of-dropbox#comments</comments>
		<pubDate>Tue, 02 Nov 2010 14:00:09 +0000</pubDate>
		<dc:creator>T</dc:creator>
				<category><![CDATA[computer]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[study_note]]></category>
		<category><![CDATA[dropbox]]></category>
		<category><![CDATA[gSTM]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[virtualbox]]></category>
		<category><![CDATA[翻墙]]></category>

		<guid isPermaLink="false">http://blog.alwayst.info/?p=1349</guid>
		<description><![CDATA[写在最前面的话： 本文的方法实质上是在欺骗Dropbox，思想低劣，手法庸俗，实在是付不起钱不得已而为之。如果你有一定的财力，请一定购买付费服务，毕竟一个优质的软件是需要资金维持才能生存下去的！ 关于这个话题已经有人详尽地写过，具体在这里。但是我在折腾的过程中又碰到了很多不可预见的问题，所以还是写一下和大家分享。 首先Dropbox作为一个被GFW光荣认证的服务，其质量的优质性不容质疑，这也是我坚定不移使用它的原因。（题外话：ubuntu下的ubuntu one也是个不错的选择。）但被墙的服务使用起来终归有些麻烦，要为其扩容更要点折腾的精神，所以我觉得你至少要知道以下一些概念：翻墙、虚拟机、ubuntu。都明白不？明白就接着看下去，不明白就走酱油通道。 申请帐号 首先当你有了自己的Dropbox以后会有邀请码，别人用你的邀请码注册Dropbox，你们双方就是多250m的Dropbox空间。先利用你的邀请码，翻墙注册n个帐号。Dropbox是不检查帐号的真实性的，你完全可以瞎填，只要方便自己记忆即可。 安装虚拟机和镜像 用这些帐号直接安装Dropbox是不会给你扩容的，因为Dropbox会检查操作系统和网卡的MAC。正因为这样，所以我们要用到虚拟机virtualbox和ubuntu的iso镜像来欺骗Dropbox造成我们在多台机器上安装Dropbox的假象。 首先下载virtualbox和ubuntu的iso镜像，在virtualbox里创建ubuntu虚拟机。（创建什么系统并不重要，只要你自己熟悉就好，我觉得ubuntu的live cd比较好，如此而已。你当然也可以用Windows PE，不过我没有试过，原理上讲是一样的。） From Drop Box 注意，在storage标签页里加载ubuntu的iso镜像，确定之后点击&#8221;Start&#8221;就可以顺利进入ubuntu虚拟机 From Drop Box 选择&#8221;Try Ubuntu&#8220;即可，不必安装，我们只是走走过场。 From Drop Box 连接ssh 进入到ubuntu之后第一步就是连接你的ssh，一般最方便的就是直接用Terminal（终端），可以在下图的位置找到或者直接按快捷键Ctrl+Alt+T From Drop Box 然后输入： ssh -D 7070  -p port -l user yourserver.com 这里的port为你远端主机的端口名，一般为22或443，有变动的话一般空间商会告知你，user为你自己的用户名，yourserver.com为你ssh服务器域名或IP 我很不幸，自己的ssh每天准时在我折腾Dropbox扩容的时候down掉，只好用1984.org提供的ssh，偏偏他们不提供shell，说要在命令行中加 -N 参数，否则在Terminal（终端）下一连接上就断开。这个我到最后都没有搞定，只能放弃，改用图形化程序gSTM。这个程序可以在Ubuntu Software Center里找到。 From Drop Box 在搜索框里搜索&#8221;gstm&#8221; From Drop Box From Drop Box From Drop Box [...]]]></description>
			<content:encoded><![CDATA[<h4><strong>写在最前面的话：</strong></h4>
<p><strong><span style="color: #ff0000;">本文的方法实质上是在欺骗Dropbox，思想低劣，手法庸俗，实在是付不起钱不得已而为之。如果你有一定的财力，请一定购买付费服务，毕竟一个优质的软件是需要资金维持才能生存下去的！</span></strong></p>
<hr />关于这个话题已经有人详尽地写过，具体在<a href="http://www.open2l.com/dropbox-expansion.html" target="_blank">这里</a>。但是我在折腾的过程中又碰到了很多不可预见的问题，所以还是写一下和大家分享。</p>
<p>首先Dropbox作为一个被GFW光荣认证的服务，其质量的优质性不容质疑，这也是我坚定不移使用它的原因。（题外话：ubuntu下的ubuntu one也是个不错的选择。）但被墙的服务使用起来终归有些麻烦，要为其扩容更要点折腾的精神，所以我觉得你至少要知道以下一些概念：<span style="color: #ff0000;"><strong><span style="color: #000000;">翻墙、虚拟机、ubuntu</span></strong></span>。都明白不？明白就接着看下去，不明白就走酱油通道。</p>
<ol>
<h4>
<li> 申请帐号</li>
</h4>
<p>首先当你有了自己的Dropbox以后会有邀请码，别人用你的邀请码注册Dropbox，你们双方就是多250m的Dropbox空间。先利用你的邀请码，翻墙注册n个帐号。Dropbox是不检查帐号的真实性的，你完全可以瞎填，只要方便自己记忆即可。</p>
<h4>
<li> 安装虚拟机和镜像</li>
</h4>
<p>用这些帐号直接安装Dropbox是不会给你扩容的，因为Dropbox会检查操作系统和网卡的MAC。正因为这样，所以我们要用到虚拟机virtualbox和ubuntu的iso镜像来欺骗Dropbox造成我们在多台机器上安装Dropbox的假象。</p>
<p>首先下载<a href="http://www.virtualbox.org/wiki/Downloads" target="_blank">virtualbox</a>和<a href="http://d35x5jwfquk1wr.cloudfront.net/ubuntu-10.10-desktop-i386.iso" target="_blank">ubuntu的iso镜像</a>，在virtualbox里创建ubuntu虚拟机。（创建什么系统并不重要，只要你自己熟悉就好，我觉得ubuntu的live cd比较好，如此而已。你当然也可以用Windows PE，不过我没有试过，原理上讲是一样的。）</p>
<table style="width: auto;">
<tbody>
<tr>
<td><a href="http://picasaweb.google.com/lh/photo/FGzuHMbwZ75hQHoisoCLKY5cUep5FgZF5MX5xHo4ie4?feat=embedwebsite"><img src="http://lh6.ggpht.com/_L1J-lJWR4To/TM_L_QZlOiI/AAAAAAAAOPE/kX5WNPT86hU/s512/enlarger_dropbox_01.JPG" alt="" /></a></td>
</tr>
<tr>
<td style="font-family: arial,sans-serif; font-size: 11px; text-align: right;">From <a href="http://picasaweb.google.com/zlc821024/DropBox?authkey=Gv1sRgCNWKqoLZtKCbFw&amp;feat=embedwebsite">Drop Box</a></td>
</tr>
</tbody>
</table>
<p>注意，在storage标签页里<strong>加载ubuntu的iso镜像</strong>，确定之后点击&#8221;Start&#8221;就可以顺利进入ubuntu虚拟机</p>
<table style="width: auto;">
<tbody>
<tr>
<td><a href="http://picasaweb.google.com/lh/photo/ChLCoph22MJz2iyc9gMcZY5cUep5FgZF5MX5xHo4ie4?feat=embedwebsite"><img src="http://lh6.ggpht.com/_L1J-lJWR4To/TM_MB-uf_wI/AAAAAAAAOPY/PQJn2bHhy08/s512/enlarger_dropbox_02.JPG" alt="" /></a></td>
</tr>
<tr>
<td style="font-family: arial,sans-serif; font-size: 11px; text-align: right;">From <a href="http://picasaweb.google.com/zlc821024/DropBox?authkey=Gv1sRgCNWKqoLZtKCbFw&amp;feat=embedwebsite">Drop Box</a></td>
</tr>
</tbody>
</table>
<p>选择&#8221;<strong>Try Ubuntu</strong>&#8220;即可，不必安装，我们只是走走过场。</p>
<table style="width: auto;">
<tbody>
<tr>
<td><a href="http://picasaweb.google.com/lh/photo/GGNH2k_061M_80mOrftWzY5cUep5FgZF5MX5xHo4ie4?feat=embedwebsite"><img src="http://lh4.ggpht.com/_L1J-lJWR4To/TM_MCk_iXbI/AAAAAAAAOPc/En7gNjpylPU/s512/enlarger_dropbox_03.JPG" alt="" /></a></td>
</tr>
<tr>
<td style="font-family: arial,sans-serif; font-size: 11px; text-align: right;">From <a href="http://picasaweb.google.com/zlc821024/DropBox?authkey=Gv1sRgCNWKqoLZtKCbFw&amp;feat=embedwebsite">Drop Box</a></td>
</tr>
</tbody>
</table>
<h4>
<li> 连接ssh</li>
</h4>
<p>进入到ubuntu之后第一步就是连接你的ssh，一般最方便的就是直接用Terminal（终端），可以在下图的位置找到或者直接按快捷键Ctrl+Alt+T</p>
<table style="width: auto;">
<tbody>
<tr>
<td><a href="http://picasaweb.google.com/lh/photo/3YaGATHNsHx6jii1tw3JxY5cUep5FgZF5MX5xHo4ie4?feat=embedwebsite"><img src="http://lh6.ggpht.com/_L1J-lJWR4To/TM_L_ymrNBI/AAAAAAAAOPI/LqJOTfyGBTw/s512/enlarger_dropbox_04.JPG" alt="" /></a></td>
</tr>
<tr>
<td style="font-family: arial,sans-serif; font-size: 11px; text-align: right;">From <a href="http://picasaweb.google.com/zlc821024/DropBox?authkey=Gv1sRgCNWKqoLZtKCbFw&amp;feat=embedwebsite">Drop Box</a></td>
</tr>
</tbody>
</table>
<p>然后输入：</p>
<blockquote><p><code>ssh -D 7070  -p <strong>port</strong> -l <strong>user </strong><strong>yourserver.com</strong></code></p>
</blockquote>
<p>这里的<span style="font-weight: bold;"><span style="font-weight: normal;">port</span></span>为你远端主机的端口名，一般为22或443，有变动的话一般空间商会告知你，<span style="font-weight: bold;"><span style="font-weight: normal;">user</span></span>为你自己的用户名，<span style="font-weight: bold;"><span style="font-weight: normal;">yourserver.com</span></span>为你ssh服务器域名或IP</p>
<p>我很不幸，自己的ssh每天准时在我折腾Dropbox扩容的时候down掉，只好用<a href="https://1984bbs.org/" target="_blank">1984.org</a>提供的ssh，偏偏他们不提供shell，说要在命令行中加 -N 参数，否则在Terminal（终端）下一连接上就断开。这个我到最后都没有搞定，只能放弃，改用图形化程序<strong>gSTM</strong>。这个程序可以在Ubuntu Software Center里找到。</p>
<table style="width: auto;">
<tbody>
<tr>
<td><a href="http://picasaweb.google.com/lh/photo/ku0OpXaDAwobCspU2jqIS45cUep5FgZF5MX5xHo4ie4?feat=embedwebsite"><img src="http://lh6.ggpht.com/_L1J-lJWR4To/TM_MAssYCKI/AAAAAAAAOPM/MrU1vkRZ49o/s512/enlarger_dropbox_05.JPG" alt="" /></a></td>
</tr>
<tr>
<td style="font-family: arial,sans-serif; font-size: 11px; text-align: right;">From <a href="http://picasaweb.google.com/zlc821024/DropBox?authkey=Gv1sRgCNWKqoLZtKCbFw&amp;feat=embedwebsite">Drop Box</a></td>
</tr>
</tbody>
</table>
<p>在搜索框里搜索&#8221;gstm&#8221;</p>
<table style="width: auto;">
<tbody>
<tr>
<td><a href="http://picasaweb.google.com/lh/photo/q8--f2OsR5D9KhoTkHu0PY5cUep5FgZF5MX5xHo4ie4?feat=embedwebsite"><img src="http://lh6.ggpht.com/_L1J-lJWR4To/TM_MBKRao3I/AAAAAAAAOPQ/NeHOGoW3AWM/s512/enlarger_dropbox_06.JPG" alt="" /></a></td>
</tr>
<tr>
<td style="font-family: arial,sans-serif; font-size: 11px; text-align: right;">From <a href="http://picasaweb.google.com/zlc821024/DropBox?authkey=Gv1sRgCNWKqoLZtKCbFw&amp;feat=embedwebsite">Drop Box</a></td>
</tr>
</tbody>
</table>
<table style="width: auto;">
<tbody>
<tr>
<td><a href="http://picasaweb.google.com/lh/photo/LgugEY6Pe4FKiiXhrG0qRY5cUep5FgZF5MX5xHo4ie4?feat=embedwebsite"><img src="http://lh3.ggpht.com/_L1J-lJWR4To/TM_MDJOzy7I/AAAAAAAAOPg/77S6P_uSGao/s512/enlarger_dropbox_07.JPG" alt="" /></a></td>
</tr>
<tr>
<td style="font-family: arial,sans-serif; font-size: 11px; text-align: right;">From <a href="http://picasaweb.google.com/zlc821024/DropBox?authkey=Gv1sRgCNWKqoLZtKCbFw&amp;feat=embedwebsite">Drop Box</a></td>
</tr>
</tbody>
</table>
<table style="width: auto;">
<tbody>
<tr>
<td><a href="http://picasaweb.google.com/lh/photo/dgv1PiLJQ7isbxNQ807EVI5cUep5FgZF5MX5xHo4ie4?feat=embedwebsite"><img src="http://lh3.ggpht.com/_L1J-lJWR4To/TM_MD1HoY8I/AAAAAAAAOPk/4laecfb15vA/s512/enlarger_dropbox_08.JPG" alt="" /></a></td>
</tr>
<tr>
<td style="font-family: arial,sans-serif; font-size: 11px; text-align: right;">From <a href="http://picasaweb.google.com/zlc821024/DropBox?authkey=Gv1sRgCNWKqoLZtKCbFw&amp;feat=embedwebsite">Drop Box</a></td>
</tr>
</tbody>
</table>
<p>安装完成后在Application&#8211;Internet中打开&#8221;gSTM&#8221;，点击&#8221;Add&#8221;</p>
<table style="width: auto;">
<tbody>
<tr>
<td><a href="http://picasaweb.google.com/lh/photo/ySFK33PM35SVfSZ-cXHUIo5cUep5FgZF5MX5xHo4ie4?feat=embedwebsite"><img src="http://lh5.ggpht.com/_L1J-lJWR4To/TM_L-4iWrzI/AAAAAAAAOPA/W4LEzZqC6Jk/s512/enlarger_dropbox_10.JPG" alt="" /></a></td>
</tr>
<tr>
<td style="font-family: arial,sans-serif; font-size: 11px; text-align: right;">From <a href="http://picasaweb.google.com/zlc821024/DropBox?authkey=Gv1sRgCNWKqoLZtKCbFw&amp;feat=embedwebsite">Drop Box</a></td>
</tr>
</tbody>
</table>
<p>在下图相应位置处填入信息：Name 随意；Host为ssh服务器域名或IP；Login为你的用户名；Port为端口号，一般为22或443。然后再点击&#8221;Add&#8221;，类型选&#8221;Dynamic&#8221;，端口填7070，其他默认。</p>
<table style="width: auto;">
<tbody>
<tr>
<td><a href="http://picasaweb.google.com/lh/photo/vAS7PmYFXQpLnWpH0cs5FY5cUep5FgZF5MX5xHo4ie4?feat=embedwebsite"><img src="http://lh4.ggpht.com/_L1J-lJWR4To/TM_L4sV2MjI/AAAAAAAAOOc/-2JOATdR9gE/s512/enlarger_dropbox_11.JPG" alt="" /></a></td>
</tr>
<tr>
<td style="font-family: arial,sans-serif; font-size: 11px; text-align: right;">From <a href="http://picasaweb.google.com/zlc821024/DropBox?authkey=Gv1sRgCNWKqoLZtKCbFw&amp;feat=embedwebsite">Drop Box</a></td>
</tr>
</tbody>
</table>
<h4>
<li> 安装Dropbox</li>
</h4>
<p>这里有两种方法：<strong>一种直接在虚拟机中下载；一种在宿主机中先下载完成，再共享到虚拟机。</strong></p>
<p>我觉得后一种方法更好，省去了每次在虚拟机中下载的麻烦。虚拟机中要配置，要下载，效率上肯定是比不过宿主机的。不过这里还是一并说明一下：</p>
<p><strong>一、直接在虚拟机中下载</strong>：依次打开Firefox&#8211;Edit&#8211;Preferences&#8211; Advanced&#8211;Network&#8211;Settings，出现如下图所示：选择Manual proxy configurations，Socks Host填127.0.0.1 Port填7070，确认关闭即可。现在Firefox就全局用ssh代理了，直接去Dropbox的网站下载相应安装程序即可。当然，有人可能知道autoproxy插件，用来甄别是否需要ssh代理，毕竟很多网站并没有被墙，走ssh反而慢。不过在这里本来就不需要开多少网站，安装autoproxy插件，我认为反而麻烦了，走走全局代理即可。</p>
<table style="width: auto;">
<tbody>
<tr>
<td><a href="http://picasaweb.google.com/lh/photo/D2F3sZEoWDIzBNZkycwe1Y5cUep5FgZF5MX5xHo4ie4?feat=embedwebsite"><img src="http://lh3.ggpht.com/_L1J-lJWR4To/TM_L5abKihI/AAAAAAAAOOg/42wGj3W12oY/s512/enlarger_dropbox_12.JPG" alt="" /></a></td>
</tr>
<tr>
<td style="font-family: arial,sans-serif; font-size: 11px; text-align: right;">From <a href="http://picasaweb.google.com/zlc821024/DropBox?authkey=Gv1sRgCNWKqoLZtKCbFw&amp;feat=embedwebsite">Drop Box</a></td>
</tr>
</tbody>
</table>
<p><strong>二、在宿主机中先下载完成，再共享到虚拟机</strong>：现在宿主机中下载好相应的安装程序，放入一个文件夹然后共享出来，接着在ubuntu虚拟机中依次点击Places&#8211;Connect to server，出现如下图所示。Service type根据自己的情况选择，一般大家的宿主机都是Windows吧，那么就选&#8221;Windows share&#8221;；Server填自己宿主机的IP。然后点&#8221;Connect&#8221;连接到宿主机，选择相应共享目录下的安装文件拷贝到虚拟机来安装。</p>
<table style="width: auto;">
<tbody>
<tr>
<td><a href="http://picasaweb.google.com/lh/photo/w9l9RtvA-eOSBD5dfQgM245cUep5FgZF5MX5xHo4ie4?feat=embedwebsite"><img src="http://lh6.ggpht.com/_L1J-lJWR4To/TM_L6ATGtEI/AAAAAAAAOOo/5D90JNcEwgA/s512/enlarger_dropbox_14.JPG" alt="" /></a></td>
</tr>
<tr>
<td style="font-family: arial,sans-serif; font-size: 11px; text-align: right;">From <a href="http://picasaweb.google.com/zlc821024/DropBox?authkey=Gv1sRgCNWKqoLZtKCbFw&amp;feat=embedwebsite">Drop Box</a></td>
</tr>
</tbody>
</table>
<p><strong>但Dropbox的安装很奇怪，也许是因为被墙的原因，大家应该都会碰到，就是安装完成后无法启动Dropbox的问题，我在</strong><a href="http://blog.alwayst.info/troubleshoot_the_problem_of_install_dropbox_into_ubuntu" target="_blank"><strong>以前的博</strong></a><a href="http://blog.alwayst.info/troubleshoot_the_problem_of_install_dropbox_into_ubuntu" target="_blank"><strong>文</strong></a><strong>里也有讲到。</strong>虽然不会很明白问题是如何产生的，也不知道解决问题的原理，但大家只要照做就行了。</p>
<blockquote><p>下载Dropbox daemon：32bit <a href="http://www.dropbox.com/download?plat=lnx.x86" target="_blank">这里</a>；64bit <a href="http://www.dropbox.com/download?plat=lnx.x86_64" target="_blank">这里</a><br />
<a href="http://www.dropbox.com/download?plat=lnx.x86_64" target="_blank"></a>解压文件，解压出来的是隐藏文件，所以你可能看不到。<br />
进入Terminal（终端），切换到你解压文件所在的位置。然后键入:<br />
<code>.dropbox-dist/dropboxd</code></p>
</blockquote>
<h4>
<li> 调校Dropbox</li>
</h4>
<p>Terminal（终端）中键入命令后应该会出现如下界面，这时候还是连不上Dropbox，那是肯定的，永远别忘了Dropbox被墙了。这时候要选择&#8221;Connection Options&#8221;进行代理设置。</p>
<table style="width: auto;">
<tbody>
<tr>
<td><a href="http://picasaweb.google.com/lh/photo/oPOrK0aPt_OO8wFwk72p7Y5cUep5FgZF5MX5xHo4ie4?feat=embedwebsite"><img src="http://lh6.ggpht.com/_L1J-lJWR4To/TM_L6yvj3xI/AAAAAAAAOOs/eZ981IVqN64/s512/enlarger_dropbox_15.JPG" alt="" /></a></td>
</tr>
<tr>
<td style="font-family: arial,sans-serif; font-size: 11px; text-align: right;">From <a href="http://picasaweb.google.com/zlc821024/DropBox?authkey=Gv1sRgCNWKqoLZtKCbFw&amp;feat=embedwebsite">Drop Box</a></td>
</tr>
</tbody>
</table>
<p>如果没有的话，也可以右键Dropbox图标，点击&#8221;Preference&#8221;</p>
<table style="width: auto;">
<tbody>
<tr>
<td><a href="http://picasaweb.google.com/lh/photo/6qMVycZ8944JFo3xZCG2m45cUep5FgZF5MX5xHo4ie4?feat=embedwebsite"><img src="http://lh6.ggpht.com/_L1J-lJWR4To/TM_L7jnQ8WI/AAAAAAAAOOw/9wbS4UvuunU/s512/enlarger_dropbox_16.JPG" alt="" /></a></td>
</tr>
<tr>
<td style="font-family: arial,sans-serif; font-size: 11px; text-align: right;">From <a href="http://picasaweb.google.com/zlc821024/DropBox?authkey=Gv1sRgCNWKqoLZtKCbFw&amp;feat=embedwebsite">Drop Box</a></td>
</tr>
</tbody>
</table>
<p>然后按图中所示填入信息：选择Manually proxy settings，Proxy Type选SOCKS5，Server填127.0.0.1，Port填7070。确认后关闭即可。</p>
<table style="width: auto;">
<tbody>
<tr>
<td><a href="http://picasaweb.google.com/lh/photo/zJDnHkKFPhdWykSTpu_wNo5cUep5FgZF5MX5xHo4ie4?feat=embedwebsite"><img src="http://lh3.ggpht.com/_L1J-lJWR4To/TM_L8aFCfVI/AAAAAAAAOO0/Nu7sizKkxkA/s512/enlarger_dropbox_17.JPG" alt="" /></a></td>
</tr>
<tr>
<td style="font-family: arial,sans-serif; font-size: 11px; text-align: right;">From <a href="http://picasaweb.google.com/zlc821024/DropBox?authkey=Gv1sRgCNWKqoLZtKCbFw&amp;feat=embedwebsite">Drop Box</a></td>
</tr>
</tbody>
</table>
<p>然后跳出Setup界面，选择&#8221;I already have Dropbox account&#8221;。</p>
<table style="width: auto;">
<tbody>
<tr>
<td><a href="http://picasaweb.google.com/lh/photo/phELNSI5qWgxCd_84Zf09o5cUep5FgZF5MX5xHo4ie4?feat=embedwebsite"><img src="http://lh6.ggpht.com/_L1J-lJWR4To/TM_L8_3j0_I/AAAAAAAAOO4/-X4sa_6vuN8/s512/enlarger_dropbox_18.JPG" alt="" /></a></td>
</tr>
<tr>
<td style="font-family: arial,sans-serif; font-size: 11px; text-align: right;">From <a href="http://picasaweb.google.com/zlc821024/DropBox?authkey=Gv1sRgCNWKqoLZtKCbFw&amp;feat=embedwebsite">Drop Box</a></td>
</tr>
</tbody>
</table>
<p>现在就要用到你文章一开始注册的那些Dropbox帐号了，将其中一个填入下图相应位置。</p>
<table style="width: auto;">
<tbody>
<tr>
<td><a href="http://picasaweb.google.com/lh/photo/-MUphF4Ln4NsGn9EwGrKj45cUep5FgZF5MX5xHo4ie4?feat=embedwebsite"><img src="http://lh6.ggpht.com/_L1J-lJWR4To/TM_L9tbAiwI/AAAAAAAAOO8/QxuDJF6mP0g/s512/enlarger_dropbox_19.JPG" alt="" /></a></td>
</tr>
<tr>
<td style="font-family: arial,sans-serif; font-size: 11px; text-align: right;">From <a href="http://picasaweb.google.com/zlc821024/DropBox?authkey=Gv1sRgCNWKqoLZtKCbFw&amp;feat=embedwebsite">Drop Box</a></td>
</tr>
</tbody>
</table>
<p>最后一路Forward完成即可。</p>
<p><strong><span style="color: #ff0000;">O.K.! Done! Your Dropbox&#8217;s Capacity Has Been Enlarged!</span></strong></p>
<h4>
<li> 重新再跑一遍虚拟机。</li>
</h4>
<p><strong><span style="color: #ff0000;">关键是不要忘了去改虚拟机的MAC地址，不然是无效的！</span></strong>virtualbox里提供修改的位置如下图所示：</p>
<table style="width: auto;">
<tbody>
<tr>
<td><a href="http://picasaweb.google.com/lh/photo/F-bdwKb2aJY7dR36FhY5eY5cUep5FgZF5MX5xHo4ie4?feat=embedwebsite"><img src="http://lh4.ggpht.com/_L1J-lJWR4To/TM_PgfnLkeI/AAAAAAAAOQA/62feLAGAPS0/s512/enlarger_dropbox_20.JPG" alt="" /></a></td>
</tr>
<tr>
<td style="font-family: arial,sans-serif; font-size: 11px; text-align: right;">From <a href="http://picasaweb.google.com/zlc821024/DropBox?authkey=Gv1sRgCNWKqoLZtKCbFw&amp;feat=embedwebsite">Drop Box</a></td>
</tr>
</tbody>
</table>
</ol>
<p><strong>补充说明1</strong> : 在使用Dropbox的时候记得去改系统的hosts文件（不同的操作系统，这个文件的位置也各不相同，ubuntu下好像需要sudo一下才能修改。），增加这么一段：</p>
<blockquote><p>174.36.30.67 dropbox.com<br />
174.36.30.71 www.dropbox.com<br />
75.101.129.115 dl.dropbox.com</p>
</blockquote>
<p>然后Dropbox的设置改成No proxy server。现在就可以无代理正常使用Dropbox软件的同步功能，网页的话好像还是缺样式表，看上去很糟糕。不过无所谓，大家都很少登陆网页版的吧？如果这个方法失效了那就只能走ssh代理了，比较凄惨，所以尽量在Dropbox里以放小文件为主，电影什么的也走ssh代理就有些痛苦了。</p>
<p><strong>补充说明2</strong> : 如果你有edu邮箱，那么去Dropbox认证一下，你的邀请码每邀请一人<strong>可以增加500m空间</strong>。这个也很给力，让我们扩容更省力。大家可以试一试下面这个，我测试过，有效：</p>
<p><a href="https://domains.live.com/members/signup.aspx?domain=mspil.edu.cn" target="_blank">@ mspil.edu.cn 教育部-微软(中国) </a>。另外Dropbox的edu邮箱认证地址：<a href="https://www.dropbox.com/edu" target="_blank">这里</a>。</p>
<p><strong>总结: </strong></p>
<p>文章有些长，图有些乱，如果你已经头昏眼花了，我这里先简单地给你理理思路。</p>
<p><strong>先用你Dropbox的邀请码申请账号，然后在虚拟机中用这些账号去安装Dropbox，然后利用虚拟机不停变换操作系统特征和网卡的MAC使Dropbox始终认为你在不同的电脑上用不同的账号在安装Dropbox，从而达到扩容的目的。</strong></p>
<p><strong>其中的难点在于：</strong></p>
<ol>
<li><strong>Dropbox自身被墙，要在虚拟机中翻墙连接Dropbox服务器。</strong></li>
<li><strong> </strong><strong>Dropbox在ubuntu下的古怪安装程序，需要辅助措施才能安装完成。</strong></li>
</ol>
<hr /><strong><span style="color: #ff0000;">p.s :</span></strong> 如果有朋友确实有困难，又想扩容，我这里可以视情况提供帮助（人太多我就不能为力了），<strong>当然一定记得留下你们的邀请码</strong>。</p>
<h3>Related Posts</h3><ul><li><a href="http://blog.alwayst.info/some_simple_introductions_of_how_to_fuckgfw" title="崂山道士之术 2010.07.7">崂山道士之术</a>(3)</li>
<li><a href="http://blog.alwayst.info/ubuntu-achieve-ssh-automatic-re-connection" title="ubuntu下实现ssh自动重连 2009.12.19">ubuntu下实现ssh自动重连</a>(15)</li>
<li><a href="http://blog.alwayst.info/ubuntu-using-ssh" title="Ubuntu下使用SSH 2009.11.10">Ubuntu下使用SSH</a>(5)</li>
<li><a href="http://blog.alwayst.info/troubleshoot-about-tor" title="Troubleshoot : about tor 2009.07.27">Troubleshoot : about tor</a>(2)</li>
<li><a href="http://blog.alwayst.info/troubleshoot_the_problem_of_install_dropbox_into_ubuntu" title="ubuntu9.10下安装dropbox出现的一个问题 2010.07.9">ubuntu9.10下安装dropbox出现的一个问题</a>(1)</li>
<li><a href="http://blog.alwayst.info/837" title="VirtualBox的全屏显示问题 2009.11.12">VirtualBox的全屏显示问题</a>(5)</li>
<li><a href="http://blog.alwayst.info/ucweb-e8-8b-b1-e6-96-87-e7-89-88" title="ucweb英文版 2009.09.2">ucweb英文版</a>(2)</li>
<li><a href="http://blog.alwayst.info/set-ssl-google-as-the-default-search-engine-when-using-pentadactyl-in-firefox" title="Set SSL Google as the Default Search Engine when using Pentadactyl in Firefox 2011.08.22">Set SSL Google as the Default Search Engine when using Pentadactyl in Firefox</a>(0)</li>
<li><a href="http://blog.alwayst.info/how-to-fix-the-problem-when-firefox-cannot-launch-in-ubuntu" title="How to fix the problem when Firefox cannot launch in Ubuntu 2011.03.26">How to fix the problem when Firefox cannot launch in Ubuntu</a>(2)</li>
<li><a href="http://blog.alwayst.info/how-to-install-firefox-4-stable-in-ubuntu-10-04-and-10-10" title="How to install Firefox 4 (Stable) In Ubuntu [10.04 and 10.10] 2011.03.23">How to install Firefox 4 (Stable) In Ubuntu [10.04 and 10.10]</a>(0)</li>
</ul><h3>Recent Comments</h3><ul><li><a class="commentor" href="http://blog.alwayst.info" >T</a> : <a class="comment_content" href="http://blog.alwayst.info/enlarge-the-capacity-of-dropbox#comment-931" title="View the entire comment by T" >@小本 查收。看看增加了没？</a></li>
<li><a class="commentor" href="http://blog.alwayst.info" >T</a> : <a class="comment_content" href="http://blog.alwayst.info/enlarge-the-capacity-of-dropbox#comment-930" title="View the entire comment by T" >@小本 ok, 下个星期吧，有空的时候我会弄一下的，耐心等候，^_^</a></li>
<li><a class="commentor" href="" >小本</a> : <a class="comment_content" href="http://blog.alwayst.info/enlarge-the-capacity-of-dropbox#comment-929" title="View the entire comment by 小本" >看着晕乎乎的...看不懂.. 
我的放了几十首歌 都过半了 2G不够用 ..博主可否帮忙扩充 灰常...</a></li>
<li><a class="commentor" href="" >pob</a> : <a class="comment_content" href="http://blog.alwayst.info/enlarge-the-capacity-of-dropbox#comment-865" title="View the entire comment by pob" >@海涛 
先用教育网邮箱激活，用虚拟机装一个xp，精简版的就成，然后新建用户，每个新用户安装登录一...</a></li>
<li><a class="commentor" href="http://blog.alwayst.info" >T</a> : <a class="comment_content" href="http://blog.alwayst.info/enlarge-the-capacity-of-dropbox#comment-864" title="View the entire comment by T" >@海涛  我说的是邀请码。登录你的dropbox，在https://www.dropbox.com/...</a></li>
</ul><hr />
<p><small>© T for <a href="http://blog.alwayst.info">知易行难,知行合一 (Walk the Talk)</a>, 2010. |
<a href="http://blog.alwayst.info/enlarge-the-capacity-of-dropbox">Permalink</a> |
<a href="http://blog.alwayst.info/enlarge-the-capacity-of-dropbox#comments">14 comments</a> 
<br/>
Post tags: <a href="http://blog.alwayst.info/tag/dropbox" rel="tag">dropbox</a>, <a href="http://blog.alwayst.info/tag/gstm" rel="tag">gSTM</a>, <a href="http://blog.alwayst.info/tag/software" rel="tag">software</a>, <a href="http://blog.alwayst.info/tag/ssh" rel="tag">ssh</a>, <a href="http://blog.alwayst.info/tag/ubuntu" rel="tag">ubuntu</a>, <a href="http://blog.alwayst.info/tag/virtualbox" rel="tag">virtualbox</a>, <a href="http://blog.alwayst.info/tag/%e7%bf%bb%e5%a2%99" rel="tag">翻墙</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://blog.alwayst.info/enlarge-the-capacity-of-dropbox/feed</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>A Problem of Picasa</title>
		<link>http://blog.alwayst.info/a_problem_of_picasa</link>
		<comments>http://blog.alwayst.info/a_problem_of_picasa#comments</comments>
		<pubDate>Thu, 07 Oct 2010 13:20:31 +0000</pubDate>
		<dc:creator>T</dc:creator>
				<category><![CDATA[computer]]></category>
		<category><![CDATA[picasa]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://blog.alwayst.info/?p=1269</guid>
		<description><![CDATA[From Drop Box Picasa经常会出现上图所示的问题：This account is not enabled for Web Albums. 不登录就没法在本地上传照片了，很麻烦。但其实网页上登录一切都是正常的，上网搜索了一下相关问题，却惊奇地发现没有什么有效的解决办法，无论中文论坛还是英文论坛都只是描述了一下现象，有些人莫名其妙地弄好了，但他们的经验都没有通用性。我只能理解为Picasa的一个bug，好在这个bug还是有解决办法的。主要就是通过代理来登录。 前提：需要SSH 步骤： 正常连接SSH 打开Picasa，依次进入 Tools&#8211;Options&#8211;Network 在Proxy Name里输入 127.0.0.1:7070（端口号要视乎你的配置，一般都是用7070的端口） 现在登录即可。登录成功后可以切断SSH的连接了，因为按我的理解，用SSH上传还要走代理，速度肯定会慢一些。我实际测试下来只要登录成功，切断SSH后上传照片还是正常的。 最后，如果谁知道完美的解决方法，请告知，谢谢。 Related PostsDropbox扩容详尽指南(14) Call phones from Gmail(2) 崂山道士之术(3) 关于Picasa的一些问题(3) Picasa图片外链(2) ubuntu下实现ssh自动重连(15) 一个twitter无法访问的问题(4) Ubuntu下使用SSH(5) Recent Comments © T for 知易行难,知行合一 (Walk the Talk), 2010. &#124; Permalink &#124; No comment Post tags: picasa, ssh]]></description>
			<content:encoded><![CDATA[<table style="width: auto;">
<tbody>
<tr>
<td><a href="http://picasaweb.google.com/lh/photo/gm0jVrDhLcn0DX-nGMQMz45cUep5FgZF5MX5xHo4ie4?feat=embedwebsite"><img src="http://lh3.ggpht.com/_L1J-lJWR4To/TK3IJJL9pCI/AAAAAAAAOJQ/fd62n3L9Y5Q/s512/A%20Problem%20of%20Picasa.jpg" alt="" /></a></td>
</tr>
<tr>
<td style="font-family: arial,sans-serif; font-size: 11px; text-align: right;">From <a href="http://picasaweb.google.com/zlc821024/DropBox?authkey=Gv1sRgCNWKqoLZtKCbFw&amp;feat=embedwebsite">Drop Box</a></td>
</tr>
</tbody>
</table>
<p>Picasa经常会出现上图所示的问题：<strong><span style="color: #ff0000;">This account is not enabled for Web Albums. </span></strong>不登录就没法在本地上传照片了，很麻烦。但其实网页上登录一切都是正常的，上网搜索了一下相关问题，却惊奇地发现没有什么有效的解决办法，无论中文论坛还是英文论坛都只是描述了一下现象，有些人莫名其妙地弄好了，但他们的经验都没有通用性。我只能理解为Picasa的一个bug，好在这个bug还是有解决办法的。主要就是通过代理来登录。</p>
<p><strong>前提：需要SSH</strong></p>
<p><strong>步骤：</strong></p>
<ol>
<li>正常连接SSH</li>
<li>打开Picasa，依次进入 Tools&#8211;Options&#8211;Network</li>
<li>在Proxy Name里输入 127.0.0.1:7070（端口号要视乎你的配置，一般都是用7070的端口）</li>
<li>现在登录即可。登录成功后可以切断SSH的连接了，因为按我的理解，用SSH上传还要走代理，速度肯定会慢一些。我实际测试下来只要登录成功，切断SSH后上传照片还是正常的。</li>
</ol>
<p>最后，如果谁知道完美的解决方法，请告知，谢谢。</p>
<h3>Related Posts</h3><ul><li><a href="http://blog.alwayst.info/enlarge-the-capacity-of-dropbox" title="Dropbox扩容详尽指南 2010.11.2">Dropbox扩容详尽指南</a>(14)</li>
<li><a href="http://blog.alwayst.info/call-phones-from-gmail" title="Call phones from Gmail 2010.08.27">Call phones from Gmail</a>(2)</li>
<li><a href="http://blog.alwayst.info/some_simple_introductions_of_how_to_fuckgfw" title="崂山道士之术 2010.07.7">崂山道士之术</a>(3)</li>
<li><a href="http://blog.alwayst.info/something_about_access_picasa" title="关于Picasa的一些问题 2010.02.5">关于Picasa的一些问题</a>(3)</li>
<li><a href="http://blog.alwayst.info/picasa-pictures-links" title="Picasa图片外链 2010.01.9">Picasa图片外链</a>(2)</li>
<li><a href="http://blog.alwayst.info/ubuntu-achieve-ssh-automatic-re-connection" title="ubuntu下实现ssh自动重连 2009.12.19">ubuntu下实现ssh自动重连</a>(15)</li>
<li><a href="http://blog.alwayst.info/problem-can-not-access-a-twitter" title="一个twitter无法访问的问题 2009.11.27">一个twitter无法访问的问题</a>(4)</li>
<li><a href="http://blog.alwayst.info/ubuntu-using-ssh" title="Ubuntu下使用SSH 2009.11.10">Ubuntu下使用SSH</a>(5)</li>
</ul><h3>Recent Comments</h3><ul></ul><hr />
<p><small>© T for <a href="http://blog.alwayst.info">知易行难,知行合一 (Walk the Talk)</a>, 2010. |
<a href="http://blog.alwayst.info/a_problem_of_picasa">Permalink</a> |
<a href="http://blog.alwayst.info/a_problem_of_picasa#comments">No comment</a> 
<br/>
Post tags: <a href="http://blog.alwayst.info/tag/picasa" rel="tag">picasa</a>, <a href="http://blog.alwayst.info/tag/ssh" rel="tag">ssh</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://blog.alwayst.info/a_problem_of_picasa/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Call phones from Gmail</title>
		<link>http://blog.alwayst.info/call-phones-from-gmail</link>
		<comments>http://blog.alwayst.info/call-phones-from-gmail#comments</comments>
		<pubDate>Fri, 27 Aug 2010 10:53:28 +0000</pubDate>
		<dc:creator>T</dc:creator>
				<category><![CDATA[google]]></category>
		<category><![CDATA[call]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[vpn]]></category>

		<guid isPermaLink="false">http://blog.alwayst.info/?p=1254</guid>
		<description><![CDATA[相信大家都知道Google的重量级应用Gmail Call登场了，如果你不熟悉请参见官方Blog（需翻墙）或者自行google。但是可能很多人都在苦苦等待Google将这个应用部署到自己的Gmail里，那么有米国ip地址SSH或者VPN的童鞋们有福了，只要你用米国的ip登录Gmail即可看到如下激动人心的画面了（至少我是成功的，人品？）： From Drop Box 双击点开即是如下画面，好像Google还慷慨地送了$0.1&#8230;试了一下拨打自己的手机真的能通，爽！ From Drop Box 点击右上小图标即可进入充值通道（红圈所示位置），需要用到Google Checkout的服务（Google的一项付费服务，很好用），我毫不犹豫地充了$10进去。 From Drop Box 关于资费，打美国和加拿大至少在今年内是免费的，打中国电话是$0.02每分钟。 好便宜啊~ 不过还没实际测试过，因为手头暂时只有耳机没有耳麦。有米国或者外地的童鞋想和我打电话不？^_^ Related Postshttps and Google search(6) Set SSL Google as the Default Search Engine when using Pentadactyl in Firefox(0) Omnibar的其他应用(4) 在Chrome浏览器地址栏(Omnibar)中使用"I Feel Lucky"(0) 更改Chrome浏览器地址栏(Omnibar)的默认搜索引擎(1) Dropbox扩容详尽指南(14) A Problem of Picasa(0) 崂山道士之术(3) (译文)A new approach to China: an update(2) Google Bookmarks 无法删除的问题(0) [...]]]></description>
			<content:encoded><![CDATA[<p>相信大家都知道Google的重量级应用Gmail Call登场了，如果你不熟悉请参见<a href="http://gmailblog.blogspot.com/2010/08/call-phones-from-gmail.html?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed:+OfficialGmailBlog+(Gmail+Blog)" target="_blank">官方Blog</a>（需翻墙）或者自行google。但是可能很多人都在苦苦等待Google将这个应用部署到自己的Gmail里，那么有米国ip地址SSH或者VPN的童鞋们有福了，只要你用米国的ip登录Gmail即可看到如下激动人心的画面了（至少我是成功的，人品？）：</p>
<table style="width: auto;">
<tbody>
<tr>
<td><a href="http://picasaweb.google.com/lh/photo/m6JZeIp11iACSApFBQXAYI5cUep5FgZF5MX5xHo4ie4?feat=embedwebsite"><img src="http://lh3.ggpht.com/_L1J-lJWR4To/THeVTcDumiI/AAAAAAAAM_I/QwIAOSjmZjs/s512/gmail%20call%201.jpg" alt="" /></a></td>
</tr>
<tr>
<td style="font-family: arial,sans-serif; font-size: 11px; text-align: right;">From <a href="http://picasaweb.google.com/zlc821024/DropBox?authkey=Gv1sRgCNWKqoLZtKCbFw&amp;feat=embedwebsite">Drop Box</a></td>
</tr>
</tbody>
</table>
<p>双击点开即是如下画面，好像Google还慷慨地送了$0.1&#8230;试了一下拨打自己的手机真的能通，爽！</p>
<table style="width: auto;">
<tbody>
<tr>
<td><a href="http://picasaweb.google.com/lh/photo/cIjo65Gj_eshrW7iZVgFEI5cUep5FgZF5MX5xHo4ie4?feat=embedwebsite"><img src="http://lh3.ggpht.com/_L1J-lJWR4To/THeVVDUTSLI/AAAAAAAAM_Q/wyi-RIoWsGw/s512/gmail%20call%202.jpg" alt="" /></a></td>
</tr>
<tr>
<td style="font-family: arial,sans-serif; font-size: 11px; text-align: right;">From <a href="http://picasaweb.google.com/zlc821024/DropBox?authkey=Gv1sRgCNWKqoLZtKCbFw&amp;feat=embedwebsite">Drop Box</a></td>
</tr>
</tbody>
</table>
<p>点击右上小图标即可进入充值通道（红圈所示位置），需要用到<strong>Google Checkout</strong>的服务（Google的一项付费服务，很好用），我毫不犹豫地充了$10进去。</p>
<table style="width: auto;">
<tbody>
<tr>
<td><a href="http://picasaweb.google.com/lh/photo/ZSVeYyZ8btK-kGOxrPb4Go5cUep5FgZF5MX5xHo4ie4?feat=embedwebsite"><img src="http://lh4.ggpht.com/_L1J-lJWR4To/THeVUVsDXAI/AAAAAAAAM_M/2q-C_OB3Id0/s512/gmail%20call%203.JPG" alt="" /></a></td>
</tr>
<tr>
<td style="font-family: arial,sans-serif; font-size: 11px; text-align: right;">From <a href="http://picasaweb.google.com/zlc821024/DropBox?authkey=Gv1sRgCNWKqoLZtKCbFw&amp;feat=embedwebsite">Drop Box</a></td>
</tr>
</tbody>
</table>
<p><strong>关于资费，打美国和加拿大至少在今年内是免费的，打中国电话是$0.02每分钟。</strong></p>
<p><strong></strong>好便宜啊~ 不过还没实际测试过，因为手头暂时只有耳机没有耳麦。有米国或者外地的童鞋想和我打电话不？^_^</p>
<h3>Related Posts</h3><ul><li><a href="http://blog.alwayst.info/how_to_use_https_for_google_search" title="https and Google search 2010.03.31">https and Google search</a>(6)</li>
<li><a href="http://blog.alwayst.info/set-ssl-google-as-the-default-search-engine-when-using-pentadactyl-in-firefox" title="Set SSL Google as the Default Search Engine when using Pentadactyl in Firefox 2011.08.22">Set SSL Google as the Default Search Engine when using Pentadactyl in Firefox</a>(0)</li>
<li><a href="http://blog.alwayst.info/something-about-omnibar" title="Omnibar的其他应用 2011.01.5">Omnibar的其他应用</a>(4)</li>
<li><a href="http://blog.alwayst.info/use-i-feel-lucky-function-in-omnibar" title="在Chrome浏览器地址栏(Omnibar)中使用"I Feel Lucky" 2010.12.29">在Chrome浏览器地址栏(Omnibar)中使用"I Feel Lucky"</a>(0)</li>
<li><a href="http://blog.alwayst.info/let-omnibar-send-you-to-the-right-country-redirection" title="更改Chrome浏览器地址栏(Omnibar)的默认搜索引擎 2010.12.28">更改Chrome浏览器地址栏(Omnibar)的默认搜索引擎</a>(1)</li>
<li><a href="http://blog.alwayst.info/enlarge-the-capacity-of-dropbox" title="Dropbox扩容详尽指南 2010.11.2">Dropbox扩容详尽指南</a>(14)</li>
<li><a href="http://blog.alwayst.info/a_problem_of_picasa" title="A Problem of Picasa 2010.10.7">A Problem of Picasa</a>(0)</li>
<li><a href="http://blog.alwayst.info/some_simple_introductions_of_how_to_fuckgfw" title="崂山道士之术 2010.07.7">崂山道士之术</a>(3)</li>
<li><a href="http://blog.alwayst.info/a_new_approach_to_china_an_update" title="(译文)A new approach to China: an update 2010.03.23">(译文)A new approach to China: an update</a>(2)</li>
<li><a href="http://blog.alwayst.info/how_to_delete_google_bookmarks" title="Google Bookmarks 无法删除的问题 2010.03.10">Google Bookmarks 无法删除的问题</a>(0)</li>
</ul><h3>Recent Comments</h3><ul><li><a class="commentor" href="http://blog.alwayst.info" >T</a> : <a class="comment_content" href="http://blog.alwayst.info/call-phones-from-gmail#comment-686" title="View the entire comment by T" >@lena  
关键是便宜啊！</a></li>
<li><a class="commentor" href="" >lena</a> : <a class="comment_content" href="http://blog.alwayst.info/call-phones-from-gmail#comment-685" title="View the entire comment by lena" >某人貌似很先进嘛，其实很久以前就有软件可以打电话了，我也打过的，哈哈哈。</a></li>
</ul><hr />
<p><small>© T for <a href="http://blog.alwayst.info">知易行难,知行合一 (Walk the Talk)</a>, 2010. |
<a href="http://blog.alwayst.info/call-phones-from-gmail">Permalink</a> |
<a href="http://blog.alwayst.info/call-phones-from-gmail#comments">2 comments</a> 
<br/>
Post tags: <a href="http://blog.alwayst.info/tag/call" rel="tag">call</a>, <a href="http://blog.alwayst.info/tag/gmail" rel="tag">gmail</a>, <a href="http://blog.alwayst.info/tag/google" rel="tag">google</a>, <a href="http://blog.alwayst.info/tag/ssh" rel="tag">ssh</a>, <a href="http://blog.alwayst.info/tag/vpn" rel="tag">vpn</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://blog.alwayst.info/call-phones-from-gmail/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>崂山道士之术</title>
		<link>http://blog.alwayst.info/some_simple_introductions_of_how_to_fuckgfw</link>
		<comments>http://blog.alwayst.info/some_simple_introductions_of_how_to_fuckgfw#comments</comments>
		<pubDate>Tue, 06 Jul 2010 16:05:14 +0000</pubDate>
		<dc:creator>T</dc:creator>
				<category><![CDATA[computer]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[study_note]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[GFW]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[翻墙]]></category>

		<guid isPermaLink="false">http://blog.alwayst.info/?p=1216</guid>
		<description><![CDATA[穿墙之术众多，我只谈自己熟悉的。举一反三、勤学善问才是王道： 一、使用在线代理，赛风：http://ifuwocheng.info。这个代理太过出名，众所周知，所以很容易遭到封杀。我发这篇文章的时候应该还能用，过段时间就难说了。 二、使用SSH：首先你要有个SSH的帐号，有心的人总能找到资源，或者舍得出钱。如果觉得麻烦，看到这里就可以跳过了。拿到SSH帐号后，也要分好多情况：主要是你所使用的浏览器和操作系统，如果你用*unix，那么我默认你为高手，也就不再赘述。这里主要谈Windows，首先推荐使用tunnelier，别问为什么，大家都说好，你用熟以后自然可以自主地进行再选择。下载地址:这里。界面如下： Host：添你申请空间的域名或ip Port：一般是22，特殊情况空间提供商应该会告知你 Username：你懂的 Initial method：选Password，后下方会出来空格给你填密码。 然后点Login，正常情况就能连上SSH了。 接下来讨论浏览器： 1、Chrome： 用Proxy Switchy。安装地址：这里。设置界面如下： New Profile&#8211;Profile Name随便填－－SOCKS Host: 127.0.0.1 Port: 7070&#8211;选择SOCKS v5&#8211;再选择Switch Rules标签 勾选 Enable Switch Rules 然后勾选 Online Rule List，在Online Rule List 下面填写 http://autoproxy-gfwlist.googlecode.com/svn/trunk/gfwlist.txt 后面下拉列表框选择你前面命名的Profile Name，勾选 AutoProxy Compatible List，然后Save，大功告成。 2、Firefox： 用AutoProxy，安装地址：这里。 添加一项，名字随意，proxy host: 127.0.0.1  port:7070，选择socks5 选择刚才命名的代理名字 选择gfwLists。OK，完成。 3、IE Internet选项&#8211;局域网设置&#8211;勾选“为LAN使用代理服务器”&#8211;地址：127.0.0.1 端口:7070&#8211;OK，完成 看上去好像IE简单点，其实是因为它只能选择全局代理，无论看什么网页（即使没有被墙），都走SSH通道，效率上是大打折扣的。而且SSH主机一般在国外，借道国外的话很多优酷、土豆的视频因为版权问题都不会给你看的哟，兲朝真是太狡猾了。。。而Chrome和Firefox在使用了上述插件后可以自动选择是否走SSH通道，并可以由用户自定义，这当然要好的多。而且如果你希望全局代理，在Chrome和Firefox中也完全做得到。因为实际意义不大，这里就不介绍了。 Related PostsDropbox扩容详尽指南(14) ucweb英文版(2) Troubleshoot : about tor(2) https and Google [...]]]></description>
			<content:encoded><![CDATA[<p>穿墙之术众多，我只谈自己熟悉的。举一反三、勤学善问才是王道：</p>
<p>一、使用在线代理，赛风：http://ifuwocheng.info。这个代理太过出名，众所周知，所以很容易遭到封杀。我发这篇文章的时候应该还能用，过段时间就难说了。</p>
<p>二、使用SSH：首先你要有个SSH的帐号，有心的人总能找到资源，或者舍得出钱。如果觉得麻烦，看到这里就可以跳过了。拿到SSH帐号后，也要分好多情况：主要是你所使用的浏览器和操作系统，如果你用*unix，那么我默认你为高手，也就不再赘述。这里主要谈Windows，首先推荐使用tunnelier，别问为什么，大家都说好，你用熟以后自然可以自主地进行再选择。下载地址:<a href="http://www.bitvise.com/files/tunnelier-login.png" target="_blank">这里</a>。界面如下：</p>
<p><img title="tunnlier" src="http://www.bitvise.com/files/tunnelier-login.png" alt="" width="517" height="419" /></p>
<div>Host：添你申请空间的域名或ip</div>
<div>Port：一般是22，特殊情况空间提供商应该会告知你</div>
<div>Username：你懂的</div>
<div>Initial method：选Password，后下方会出来空格给你填密码。</div>
<div>然后点Login，正常情况就能连上SSH了。</div>
<div>接下来讨论浏览器：</div>
<h5>1、Chrome：</h5>
<p>用Proxy Switchy。安装地址：<a href="https://chrome.google.com/extensions/detail/caehdcpeofiiigpdhbabniblemipncjj" target="_blank">这里</a>。设置界面如下：</p>
<div><img title="switchy1" src="https://chrome.google.com/extensions/img/caehdcpeofiiigpdhbabniblemipncjj/1276479284.08/screenshot/15002" alt="" width="410" height="316" /></div>
<div>New Profile&#8211;Profile Name随便填－－SOCKS Host: 127.0.0.1 Port: 7070&#8211;选择SOCKS v5&#8211;再选择Switch Rules标签</div>
<div><img title="switchy2" src="https://chrome.google.com/extensions/img/caehdcpeofiiigpdhbabniblemipncjj/1276479284.08/screenshot/16001" alt="" width="409" height="264" /></div>
<div>
<div>勾选 Enable Switch Rules 然后勾选 Online Rule List，在Online Rule List 下面填写 <a href="http://autoproxy-gfwlist.googlecode.com/svn/trunk/gfwlist.txt" target="_blank">http://autoproxy-gfwlist.googlecode.com/svn/trunk/gfwlist.txt</a> 后面下拉列表框选择你前面命名的Profile Name，勾选 AutoProxy Compatible List，然后Save，大功告成。</div>
<div></div>
<h5>2、Firefox：</h5>
<p>用AutoProxy，安装地址：<a href="https://addons.mozilla.org/en-US/firefox/addon/11009/" target="_blank">这里</a>。</p>
<p><img title="autoproxy1" src="https://addons.mozilla.org/img/uploads/previews/thumbs/30/30340.png?modified=1236572000" alt="" width="200" height="121" /></p>
<p>添加一项，名字随意，proxy host: 127.0.0.1  port:7070，选择socks5</p>
<p><img title="autoproxy2" src="https://addons.mozilla.org/img/uploads/previews/thumbs/30/30339.png?modified=1236571979" alt="" width="200" height="101" /></p>
<p>选择刚才命名的代理名字</p>
<p><img title="autoproxy3" src="https://addons.mozilla.org/img/uploads/previews/thumbs/30/30337.png?modified=1236571621" alt="" width="200" height="140" /></p>
<p>选择gfwLists。OK，完成。</p>
<h5>3、IE</h5>
<p>Internet选项&#8211;局域网设置&#8211;勾选“为LAN使用代理服务器”&#8211;地址：127.0.0.1 端口:7070&#8211;OK，完成</p>
<p>看上去好像IE简单点，其实是因为它只能选择全局代理，无论看什么网页（即使没有被墙），都走SSH通道，效率上是大打折扣的。而且SSH主机一般在国外，借道国外的话很多优酷、土豆的视频因为版权问题都不会给你看的哟，兲朝真是太狡猾了。。。而Chrome和Firefox在使用了上述插件后可以自动选择是否走SSH通道，并可以由用户自定义，这当然要好的多。而且如果你希望全局代理，在Chrome和Firefox中也完全做得到。因为实际意义不大，这里就不介绍了。</p>
</div>
<h3>Related Posts</h3><ul><li><a href="http://blog.alwayst.info/enlarge-the-capacity-of-dropbox" title="Dropbox扩容详尽指南 2010.11.2">Dropbox扩容详尽指南</a>(14)</li>
<li><a href="http://blog.alwayst.info/ucweb-e8-8b-b1-e6-96-87-e7-89-88" title="ucweb英文版 2009.09.2">ucweb英文版</a>(2)</li>
<li><a href="http://blog.alwayst.info/troubleshoot-about-tor" title="Troubleshoot : about tor 2009.07.27">Troubleshoot : about tor</a>(2)</li>
<li><a href="http://blog.alwayst.info/how_to_use_https_for_google_search" title="https and Google search 2010.03.31">https and Google search</a>(6)</li>
<li><a href="http://blog.alwayst.info/ubuntu-achieve-ssh-automatic-re-connection" title="ubuntu下实现ssh自动重连 2009.12.19">ubuntu下实现ssh自动重连</a>(15)</li>
<li><a href="http://blog.alwayst.info/congratulations-hootsuite" title="恭喜HootSuite 2009.11.23">恭喜HootSuite</a>(1)</li>
<li><a href="http://blog.alwayst.info/ubuntu-using-ssh" title="Ubuntu下使用SSH 2009.11.10">Ubuntu下使用SSH</a>(5)</li>
<li><a href="http://blog.alwayst.info/%e4%bd%93%e9%aa%8c%e8%a2%ab%e5%a2%99%ef%bc%88%e7%bb%88%e7%af%87%ef%bc%89" title="体验被墙（终篇） 2009.08.25">体验被墙（终篇）</a>(12)</li>
<li><a href="http://blog.alwayst.info/%e4%bd%93%e9%aa%8c%e8%a2%ab%e5%a2%99%ef%bc%88%e7%bb%ad%e4%ba%8c%ef%bc%89" title="体验被墙（续二） 2009.08.15">体验被墙（续二）</a>(3)</li>
<li><a href="http://blog.alwayst.info/%e4%bd%93%e9%aa%8c%e8%a2%ab%e5%a2%99%ef%bc%88%e7%bb%ad%e4%b8%80%ef%bc%89" title="体验被墙（续一） 2009.08.14">体验被墙（续一）</a>(5)</li>
</ul><h3>Recent Comments</h3><ul><li><a class="commentor" href="http://blog.alwayst.info" >T</a> : <a class="comment_content" href="http://blog.alwayst.info/some_simple_introductions_of_how_to_fuckgfw#comment-638" title="View the entire comment by T" >@Afio  
VPN用过一小段时间好像也还不错，现在SSH用着顺手也就不做其他尝试了。其实多了解...</a></li>
<li><a class="commentor" href="http://yun.be" >Afio</a> : <a class="comment_content" href="http://blog.alwayst.info/some_simple_introductions_of_how_to_fuckgfw#comment-635" title="View the entire comment by Afio" >试过一次SSH+FF没搞定，后来用的 Packetix VPN(挺不错的,有客户端,设置简单,不过是...</a></li>
</ul><hr />
<p><small>© T for <a href="http://blog.alwayst.info">知易行难,知行合一 (Walk the Talk)</a>, 2010. |
<a href="http://blog.alwayst.info/some_simple_introductions_of_how_to_fuckgfw">Permalink</a> |
<a href="http://blog.alwayst.info/some_simple_introductions_of_how_to_fuckgfw#comments">3 comments</a> 
<br/>
Post tags: <a href="http://blog.alwayst.info/tag/chrome" rel="tag">chrome</a>, <a href="http://blog.alwayst.info/tag/firefox" rel="tag">firefox</a>, <a href="http://blog.alwayst.info/tag/gfw" rel="tag">GFW</a>, <a href="http://blog.alwayst.info/tag/software" rel="tag">software</a>, <a href="http://blog.alwayst.info/tag/ssh" rel="tag">ssh</a>, <a href="http://blog.alwayst.info/tag/%e7%bf%bb%e5%a2%99" rel="tag">翻墙</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://blog.alwayst.info/some_simple_introductions_of_how_to_fuckgfw/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>ubuntu下实现ssh自动重连</title>
		<link>http://blog.alwayst.info/ubuntu-achieve-ssh-automatic-re-connection</link>
		<comments>http://blog.alwayst.info/ubuntu-achieve-ssh-automatic-re-connection#comments</comments>
		<pubDate>Fri, 18 Dec 2009 16:39:20 +0000</pubDate>
		<dc:creator>T</dc:creator>
				<category><![CDATA[computer]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[study_note]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[翻墙]]></category>

		<guid isPermaLink="false">http://blog.alwayst.info/?p=945</guid>
		<description><![CDATA[作个笔记，免得自己以后忘了。相关内容网上比比皆是，原始出处，已经找不到了。如果你不知道自己为什么需要看着篇文章，那你就不需要看下去了。好，我们开工。 ubuntu下使用ssh的方法很多： openssh。一般linux系统都默认安装，直接在终端(terminal)下使用即可，可以参阅我以前写的一些东西，这里。 PuTTY。图形化界面，无须命令行，更便于新手使用。 但两者都有一个明显的缺点：无法实现ssh断线后的自动重连。openssh是终端命令行模式，断了只能重打命令；PutTTY则自己明确说明了一点：为了安全问题不保存密码，每次都要用户自己输入。初衷是很好，但从实际应用的角度，ssh掉线的频率比较高，每次都要重输是很累的。所以更好的解决办法是：expect。 首先要获取该程序，终端(terminal)下输入： sudo apt-get install expect 完成后随便新建一个文本，这里暂定名称是:sshgfw。可以直接在终端(terminal)下输入： sudo gedit sshgfw 在文本中粘粘如下内容： #!/usr/bin/expect set timeout 60 spawn /usr/bin/ssh -D 7070 -p port -l user yourserver.com # 这里的port为你远端主机的端口名，一般为22，有变动的话一般空间商会告知你，user为你自己的用户名，yourserver.com为你自己的服务器域名或ip expect { "password:" { send "password\r" #这里的第二个password改为你自己的密码 } } interact { timeout 60 { send " "} } 再加上可执行权限，我们仍然在终端(terminal)下执行： chmod a+x sshgfw 如果你严格的按照我所说的做下来，那么现在在直接终端(terminal)下输入： ./sshgfw 脚本就应该自动运行起来了。现在这个脚本应该是在你的帐户下，多帐户操作的话也可以把这个文件复制到 [...]]]></description>
			<content:encoded><![CDATA[<p>作个笔记，免得自己以后忘了。相关内容网上比比皆是，原始出处，已经找不到了。如果你不知道自己为什么需要看着篇文章，那你就不需要看下去了。好，我们开工。</p>
<p>ubuntu下使用ssh的方法很多：</p>
<ol>
<li>openssh。一般linux系统都默认安装，直接在终端(terminal)下使用即可，可以参阅我以前写的一些东西，<a href="http://blog.alwayst.info/?p=820" target="_blank">这里</a>。</li>
<li>PuTTY。图形化界面，无须命令行，更便于新手使用。</li>
</ol>
<p>但两者都有一个明显的缺点：<strong>无法实现ssh断线后的自动重连。</strong>openssh是终端命令行模式，断了只能重打命令；PutTTY则自己明确说明了一点：为了安全问题不保存密码，每次都要用户自己输入。初衷是很好，但从实际应用的角度，ssh掉线的频率比较高，每次都要重输是很累的。所以更好的解决办法是：<strong>expect</strong>。</p>
<p>首先要获取该程序，终端(terminal)下输入：</p>
<blockquote><p><code>sudo apt-get install expect</code></p></blockquote>
<p>完成后随便新建一个文本，这里暂定名称是:sshgfw。可以直接在终端(terminal)下输入：</p>
<blockquote><p><code>sudo gedit sshgfw</code></p></blockquote>
<p>在文本中粘粘如下内容：</p>
<blockquote><p><code>#!/usr/bin/expect<br />
set timeout 60</code></p>
<p><code> </code></p>
<p><code>spawn /usr/bin/ssh -D 7070 -p <strong>port</strong> -l <strong>user </strong><strong>yourserver.com</strong><br />
# 这里的<strong>port</strong>为你远端主机的端口名，一般为22，有变动的话一般空间商会告知你，<strong>user</strong>为你自己的用户名，<strong>yourserver.com</strong>为你自己的服务器域名或ip<br />
expect {<br />
"password:" {<br />
send "<strong>password</strong>\r"<br />
#这里的<strong>第二个</strong>password改为你自己的密码<br />
}<br />
}<br />
interact {<br />
timeout 60 { send " "}<br />
}</code></p></blockquote>
<p>再加上可执行权限，我们仍然在终端(terminal)下执行：</p>
<blockquote><p><code>chmod a+x sshgfw</code></p></blockquote>
<p>如果你严格的按照我所说的做下来，那么现在在直接终端(terminal)下输入：</p>
<blockquote><p><code>./sshgfw</code></p></blockquote>
<p><code> </code><br />
脚本就应该自动运行起来了。现在这个脚本应该是在你的帐户下，多帐户操作的话也可以把这个文件复制到 /usr/local/bin 或 /usr/bin 等目录下,以方便本机所有用户都可以快捷的使用。</p>
<hr />以上内容参考了互联网上的相关资料，但也经过自己的实际操作，略作改动。如还有问题请提出（不保证能解决。。。）。</p>
<p>好了，准备收工。以twitter上看到的一句话作结尾，也不是什么惊世骇俗的名人名言，但很中肯，希望大家引以为鉴，是@<a href="http://twitter.com/yurii_yu" target="_blank">yurii_yu</a>说的：</p>
<p>“最好不要在自己blog上转贴技术文章，尤其是没经过验证的，最近几次查资料（尤其中文的问题）都搞到头大：原文有错误，转贴的人根本不尝试就转贴了，搜索结果前若干页都是同一篇文章，无一可行，这就是@<a href="http://twitter.com/tinyfool" target="_blank">tinyfoo</a>l说的信息退化”</p>
<h3>Related Posts</h3><ul><li><a href="http://blog.alwayst.info/ubuntu-using-ssh" title="Ubuntu下使用SSH 2009.11.10">Ubuntu下使用SSH</a>(5)</li>
<li><a href="http://blog.alwayst.info/enlarge-the-capacity-of-dropbox" title="Dropbox扩容详尽指南 2010.11.2">Dropbox扩容详尽指南</a>(14)</li>
<li><a href="http://blog.alwayst.info/some-ubuntu-tips" title="Some Ubuntu Tips 2010.10.16">Some Ubuntu Tips</a>(4)</li>
<li><a href="http://blog.alwayst.info/some_simple_introductions_of_how_to_fuckgfw" title="崂山道士之术 2010.07.7">崂山道士之术</a>(3)</li>
<li><a href="http://blog.alwayst.info/dual_boot_ubuntu_and_xp" title="安装Ubuntu和XP双系统 2010.05.24">安装Ubuntu和XP双系统</a>(9)</li>
<li><a href="http://blog.alwayst.info/ubuntu-under-the-phenomenon-of-a-loss-of-input" title="Ubuntu下输入法丢失现象一则 2009.11.20">Ubuntu下输入法丢失现象一则</a>(4)</li>
<li><a href="http://blog.alwayst.info/837" title="VirtualBox的全屏显示问题 2009.11.12">VirtualBox的全屏显示问题</a>(5)</li>
<li><a href="http://blog.alwayst.info/to-talk-about-the-typing-and-to-talk-about-dvorak" title="谈谈打字，兼谈Dvorak 2009.10.18">谈谈打字，兼谈Dvorak</a>(13)</li>
<li><a href="http://blog.alwayst.info/under-ubuntu-shortcut-keys-ctrl-s" title="ubuntu下的快捷键--ctrl+s 2009.10.15">ubuntu下的快捷键--ctrl+s</a>(13)</li>
<li><a href="http://blog.alwayst.info/troubleshoot-about-tor" title="Troubleshoot : about tor 2009.07.27">Troubleshoot : about tor</a>(2)</li>
</ul><h3>Recent Comments</h3><ul><li><a class="commentor" href="http://blog.alwayst.info" >T</a> : <a class="comment_content" href="http://blog.alwayst.info/ubuntu-achieve-ssh-automatic-re-connection#comment-623" title="View the entire comment by T" >@superz  
暂时还没想过这个问题，应该能实现，不过我现在不知道该怎么做。。。</a></li>
<li><a class="commentor" href="http://www.liruizhi.co.cc" >superz</a> : <a class="comment_content" href="http://blog.alwayst.info/ubuntu-achieve-ssh-automatic-re-connection#comment-620" title="View the entire comment by superz" >请教博主 ,有没有方法可以开机直接启动连接?</a></li>
<li><a class="commentor" href="http://salogs.com/" >cooper</a> : <a class="comment_content" href="http://blog.alwayst.info/ubuntu-achieve-ssh-automatic-re-connection#comment-619" title="View the entire comment by cooper" >自己写个脚本每隔1分钟检查一次，这样来得比较简单</a></li>
<li><a class="commentor" href="http://www.andcat.com" >黑煞哥</a> : <a class="comment_content" href="http://blog.alwayst.info/ubuntu-achieve-ssh-automatic-re-connection#comment-418" title="View the entire comment by 黑煞哥" >也算不错咯。</a></li>
<li><a class="commentor" href="http://blog.alwayst.info" >T</a> : <a class="comment_content" href="http://blog.alwayst.info/ubuntu-achieve-ssh-automatic-re-connection#comment-400" title="View the entire comment by T" >@transtone  
ubuntu下好像不用管那么多，相关软件要不就是默认安装了，要不就是装e...</a></li>
</ul><hr />
<p><small>© T for <a href="http://blog.alwayst.info">知易行难,知行合一 (Walk the Talk)</a>, 2009. |
<a href="http://blog.alwayst.info/ubuntu-achieve-ssh-automatic-re-connection">Permalink</a> |
<a href="http://blog.alwayst.info/ubuntu-achieve-ssh-automatic-re-connection#comments">15 comments</a> 
<br/>
Post tags: <a href="http://blog.alwayst.info/tag/linux" rel="tag">linux</a>, <a href="http://blog.alwayst.info/tag/ssh" rel="tag">ssh</a>, <a href="http://blog.alwayst.info/tag/ubuntu" rel="tag">ubuntu</a>, <a href="http://blog.alwayst.info/tag/%e7%bf%bb%e5%a2%99" rel="tag">翻墙</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://blog.alwayst.info/ubuntu-achieve-ssh-automatic-re-connection/feed</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>一个twitter无法访问的问题</title>
		<link>http://blog.alwayst.info/problem-can-not-access-a-twitter</link>
		<comments>http://blog.alwayst.info/problem-can-not-access-a-twitter#comments</comments>
		<pubDate>Fri, 27 Nov 2009 05:38:51 +0000</pubDate>
		<dc:creator>T</dc:creator>
				<category><![CDATA[computer]]></category>
		<category><![CDATA[study_note]]></category>
		<category><![CDATA[autoproxy]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://blog.alwayst.info/?p=870</guid>
		<description><![CDATA[我的情况：用ssh + autoproxy, 无法访问https://twitter.com 发现的原因。。。很傻很傻。查了一下autoproxy的规则，其中有两条： .twitter.com &#124;&#124;twitter.com 注意第二个规则，我通常访问时是用 https://twitter.com, 在autoproxy的规则里，这个网址不使用代理访问。。。用http://www.twitter.com才算符合规则，autoproxy的这个规则定的傻了点吧。。。要不就是我梦游的时候自己改过？？ Related PostsDropbox扩容详尽指南(14) A Problem of Picasa(0) Call phones from Gmail(2) 崂山道士之术(3) ubuntu下实现ssh自动重连(15) 恭喜HootSuite(1) Ubuntu下使用SSH(5) 苦不苦，就当自己二百五；累不累，投胎投错能冤谁？(6) Account Suspended…(final)(2) Account Suspended...(episode one)(6) Recent CommentsT : @Hobo 恩，挺诡异的。排除我误操作的可能，那就是autoproxy的gfw list犯了个... Hobo : 哈，还有这种事情 尹元勇 : 你有提起我的伤心事了。我是连picasa都上不了的。 笑话 : 晕，这么还有这种事情发生啊 ~~ © T for 知易行难,知行合一 (Walk the Talk), 2009. &#124; [...]]]></description>
			<content:encoded><![CDATA[<p>我的情况：<strong>用ssh + autoproxy, 无法访问https://twitter.com</strong></p>
<p>发现的原因。。。很傻很傻。查了一下autoproxy的规则，其中有两条：</p>
<ol>
<li> .twitter.com</li>
<li><span style="color: #ff0000;"><strong>||twitter.com</strong></span></li>
</ol>
<p>注意第二个规则，我通常访问时是用 https://twitter.com, 在autoproxy的规则里，这个网址不使用代理访问。。。用http://www.twitter.com才算符合规则，autoproxy的这个规则定的傻了点吧。。。要不就是我梦游的时候自己改过？？</p>
<h3>Related Posts</h3><ul><li><a href="http://blog.alwayst.info/enlarge-the-capacity-of-dropbox" title="Dropbox扩容详尽指南 2010.11.2">Dropbox扩容详尽指南</a>(14)</li>
<li><a href="http://blog.alwayst.info/a_problem_of_picasa" title="A Problem of Picasa 2010.10.7">A Problem of Picasa</a>(0)</li>
<li><a href="http://blog.alwayst.info/call-phones-from-gmail" title="Call phones from Gmail 2010.08.27">Call phones from Gmail</a>(2)</li>
<li><a href="http://blog.alwayst.info/some_simple_introductions_of_how_to_fuckgfw" title="崂山道士之术 2010.07.7">崂山道士之术</a>(3)</li>
<li><a href="http://blog.alwayst.info/ubuntu-achieve-ssh-automatic-re-connection" title="ubuntu下实现ssh自动重连 2009.12.19">ubuntu下实现ssh自动重连</a>(15)</li>
<li><a href="http://blog.alwayst.info/congratulations-hootsuite" title="恭喜HootSuite 2009.11.23">恭喜HootSuite</a>(1)</li>
<li><a href="http://blog.alwayst.info/ubuntu-using-ssh" title="Ubuntu下使用SSH 2009.11.10">Ubuntu下使用SSH</a>(5)</li>
<li><a href="http://blog.alwayst.info/%e8%8b%a6%e4%b8%8d%e8%8b%a6%ef%bc%8c%e5%b0%b1%e5%bd%93%e8%87%aa%e5%b7%b1%e4%ba%8c%e7%99%be%e4%ba%94%ef%bc%9b%e7%b4%af%e4%b8%8d%e7%b4%af%ef%bc%8c%e6%8a%95%e8%83%8e%e6%8a%95%e9%94%99%e8%83%bd%e5%86%a4" title="苦不苦，就当自己二百五；累不累，投胎投错能冤谁？ 2009.09.14">苦不苦，就当自己二百五；累不累，投胎投错能冤谁？</a>(6)</li>
<li><a href="http://blog.alwayst.info/account-suspended%e2%80%a6final" title="Account Suspended…(final) 2009.09.4">Account Suspended…(final)</a>(2)</li>
<li><a href="http://blog.alwayst.info/account-suspended-episode-one" title="Account Suspended...(episode one) 2009.08.22">Account Suspended...(episode one)</a>(6)</li>
</ul><h3>Recent Comments</h3><ul><li><a class="commentor" href="http://" >T</a> : <a class="comment_content" href="http://blog.alwayst.info/problem-can-not-access-a-twitter#comment-349" title="View the entire comment by T" >@Hobo  
恩，挺诡异的。排除我误操作的可能，那就是autoproxy的gfw list犯了个...</a></li>
<li><a class="commentor" href="http://www.nethobo.com" >Hobo</a> : <a class="comment_content" href="http://blog.alwayst.info/problem-can-not-access-a-twitter#comment-346" title="View the entire comment by Hobo" >哈，还有这种事情</a></li>
<li><a class="commentor" href="" >尹元勇</a> : <a class="comment_content" href="http://blog.alwayst.info/problem-can-not-access-a-twitter#comment-345" title="View the entire comment by 尹元勇" >你有提起我的伤心事了。我是连picasa都上不了的。</a></li>
<li><a class="commentor" href="http://www.laoliyue.cn" >笑话</a> : <a class="comment_content" href="http://blog.alwayst.info/problem-can-not-access-a-twitter#comment-344" title="View the entire comment by 笑话" >晕，这么还有这种事情发生啊 ~~</a></li>
</ul><hr />
<p><small>© T for <a href="http://blog.alwayst.info">知易行难,知行合一 (Walk the Talk)</a>, 2009. |
<a href="http://blog.alwayst.info/problem-can-not-access-a-twitter">Permalink</a> |
<a href="http://blog.alwayst.info/problem-can-not-access-a-twitter#comments">4 comments</a> 
<br/>
Post tags: <a href="http://blog.alwayst.info/tag/autoproxy" rel="tag">autoproxy</a>, <a href="http://blog.alwayst.info/tag/ssh" rel="tag">ssh</a>, <a href="http://blog.alwayst.info/tag/twitter" rel="tag">twitter</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://blog.alwayst.info/problem-can-not-access-a-twitter/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Ubuntu下使用SSH</title>
		<link>http://blog.alwayst.info/ubuntu-using-ssh</link>
		<comments>http://blog.alwayst.info/ubuntu-using-ssh#comments</comments>
		<pubDate>Tue, 10 Nov 2009 14:17:38 +0000</pubDate>
		<dc:creator>T</dc:creator>
				<category><![CDATA[computer]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[study_note]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[翻墙]]></category>

		<guid isPermaLink="false">http://blog.alwayst.info/?p=820</guid>
		<description><![CDATA[为了众所周知的目的，我们无论在什么操作系统下都会用到SSH。今天就讲一下Ubuntu下SSH的使用。 其实这是个被人都讲烂的问题了，但我这个人碰上啥事都会倒霉，大众化的常规方法在我这里总是失败。首先，几乎所有linux（听说的，我只用过ubuntu）都默认安装了openssh-client，所以打开terminal（终端），键入： ssh -D 7070 -l username@servername 具体的用法，可以man ssh一下。我尝试过，内容太全了，以致我完全没有看完的兴趣。。。这里简单讲讲 -D 7070 本地一个未使用的端口 -l username 你ssh的用户名 @ 别人的文章里就是这么写的，但我这么键入这个符号完全是无效的，没弄懂 servername ssh服务器名或ip地址 所以，实际我尝试下来的应该是这么写才对 ssh -D 7070 -l 张三 xxx.xxx.xxx.xx 这就是大众化的方法，接下来正常情况会让你输密码，加密连接就建立了。很显然，不适合我。。我也很郁闷啊。仔细研究一个，发现是因为SSH默认的远端服务器端口号为22，我的恰恰不是。。于是只好去读ssh命令的帮助文件找答案。实际上我也没读得太懂，只是捡几个比较像的参数试了试，最后确定-p是远端服务器端口号参数。举例来说，如果你的SSH远端服务器端口号是874，用户名是张三，SSH服务器地址是xxx.xxx.xxx.xx，那么命令就应该这么打： ssh -D 7070 -p 874 -l 张三 xxx.xxx.xxx.xx 然后就是浏览器的设置，只谈firefox。选项→高级→网络→设置→手动配置代理→SOCKS 主机 : 127.0.0.1 端口 : 7070 现在就是全局在ssh工作了，当然很多时候没有全局ssh的必要，有很多其他方法甄别是否需要使用ssh，但并非本文的重点，这里就略过了。 祝大家翻墙学习愉快。 -l-l Related Postsubuntu下实现ssh自动重连(15) Dropbox扩容详尽指南(14) Some Ubuntu Tips(4) 崂山道士之术(3) 安装Ubuntu和XP双系统(9) Ubuntu下输入法丢失现象一则(4) VirtualBox的全屏显示问题(5) [...]]]></description>
			<content:encoded><![CDATA[<p>为了众所周知的目的，我们无论在什么操作系统下都会用到SSH。今天就讲一下Ubuntu下SSH的使用。</p>
<p>其实这是个被人都讲烂的问题了，但我这个人碰上啥事都会倒霉，大众化的常规方法在我这里总是失败。首先，几乎所有linux（听说的，我只用过ubuntu）都默认安装了openssh-client，所以打开terminal（终端），键入：</p>
<blockquote><p><strong>ssh -D 7070 -l username@servername</strong></p></blockquote>
<p>具体的用法，可以man ssh一下。我尝试过，内容太全了，以致我完全没有看完的兴趣。。。这里简单讲讲</p>
<p><strong>-D 7070</strong><br />
本地一个未使用的端口</p>
<p><strong>-l username</strong><br />
你ssh的用户名</p>
<p><strong>@</strong><br />
<span style="color: #ff0000;"><strong>别人的文章里就是这么写的，但我这么键入这个符号完全是无效的，没弄懂</strong></span></p>
<p><strong>servername</strong><br />
ssh服务器名或ip地址</p>
<p>所以，实际我尝试下来的应该是这么写才对</p>
<blockquote><p><strong>ssh -D 7070 -l 张三 xxx.xxx.xxx.xx</strong></p></blockquote>
<p>这就是大众化的方法，接下来正常情况会让你输密码，加密连接就建立了。很显然，不适合我。。我也很郁闷啊。仔细研究一个，发现是因为SSH默认的远端服务器端口号为22，我的恰恰不是。。于是只好去读ssh命令的帮助文件找答案。实际上我也没读得太懂，只是捡几个比较像的参数试了试，最后确定-p是远端服务器端口号参数。举例来说，如果你的SSH远端服务器端口号是874，用户名是张三，SSH服务器地址是<code>xxx.xxx.xxx.xx，</code>那么命令就应该这么打：</p>
<blockquote><p><strong>ssh -D 7070 -p 874 </strong><strong>-l</strong><strong> 张三 xxx.xxx.xxx.xx</strong></p></blockquote>
<p>然后就是浏览器的设置，只谈firefox。选项→高级→网络→设置→手动配置代理→SOCKS 主机 : <strong>127.0.0.1</strong> 端口 : <strong>7070</strong></p>
<p>现在就是<strong>全局</strong>在ssh工作了，当然很多时候没有全局ssh的必要，有很多其他方法甄别是否需要使用ssh，但并非本文的重点，这里就略过了。</p>
<p>祝大家<span style="text-decoration: line-through;">翻墙</span>学习愉快。</p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 177px; width: 1px; height: 1px;"><strong>-l</strong><strong>-l</strong></div>
<h3>Related Posts</h3><ul><li><a href="http://blog.alwayst.info/ubuntu-achieve-ssh-automatic-re-connection" title="ubuntu下实现ssh自动重连 2009.12.19">ubuntu下实现ssh自动重连</a>(15)</li>
<li><a href="http://blog.alwayst.info/enlarge-the-capacity-of-dropbox" title="Dropbox扩容详尽指南 2010.11.2">Dropbox扩容详尽指南</a>(14)</li>
<li><a href="http://blog.alwayst.info/some-ubuntu-tips" title="Some Ubuntu Tips 2010.10.16">Some Ubuntu Tips</a>(4)</li>
<li><a href="http://blog.alwayst.info/some_simple_introductions_of_how_to_fuckgfw" title="崂山道士之术 2010.07.7">崂山道士之术</a>(3)</li>
<li><a href="http://blog.alwayst.info/dual_boot_ubuntu_and_xp" title="安装Ubuntu和XP双系统 2010.05.24">安装Ubuntu和XP双系统</a>(9)</li>
<li><a href="http://blog.alwayst.info/ubuntu-under-the-phenomenon-of-a-loss-of-input" title="Ubuntu下输入法丢失现象一则 2009.11.20">Ubuntu下输入法丢失现象一则</a>(4)</li>
<li><a href="http://blog.alwayst.info/837" title="VirtualBox的全屏显示问题 2009.11.12">VirtualBox的全屏显示问题</a>(5)</li>
<li><a href="http://blog.alwayst.info/to-talk-about-the-typing-and-to-talk-about-dvorak" title="谈谈打字，兼谈Dvorak 2009.10.18">谈谈打字，兼谈Dvorak</a>(13)</li>
<li><a href="http://blog.alwayst.info/under-ubuntu-shortcut-keys-ctrl-s" title="ubuntu下的快捷键--ctrl+s 2009.10.15">ubuntu下的快捷键--ctrl+s</a>(13)</li>
<li><a href="http://blog.alwayst.info/troubleshoot-about-tor" title="Troubleshoot : about tor 2009.07.27">Troubleshoot : about tor</a>(2)</li>
</ul><h3>Recent Comments</h3><ul><li><a class="commentor" href="http://www.andcat.com" >黑煞哥</a> : <a class="comment_content" href="http://blog.alwayst.info/ubuntu-using-ssh#comment-416" title="View the entire comment by 黑煞哥" >真是不错。</a></li>
</ul><hr />
<p><small>© T for <a href="http://blog.alwayst.info">知易行难,知行合一 (Walk the Talk)</a>, 2009. |
<a href="http://blog.alwayst.info/ubuntu-using-ssh">Permalink</a> |
<a href="http://blog.alwayst.info/ubuntu-using-ssh#comments">5 comments</a> 
<br/>
Post tags: <a href="http://blog.alwayst.info/tag/linux" rel="tag">linux</a>, <a href="http://blog.alwayst.info/tag/ssh" rel="tag">ssh</a>, <a href="http://blog.alwayst.info/tag/ubuntu" rel="tag">ubuntu</a>, <a href="http://blog.alwayst.info/tag/%e7%bf%bb%e5%a2%99" rel="tag">翻墙</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://blog.alwayst.info/ubuntu-using-ssh/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

