<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Zyrianes / Unix</title>
<link>http://home.zyrianes.net/blog</link>
<description>Ludo blog</description>
<language>en</language>
<copyright>The contents of this blog are available for non-commercial use only.</copyright>
<generator>Alinea http://pythonfr.org/alinea/</generator>





<item>
<title>Home + Sharp + return</title>
<link>http://home.zyrianes.net/blog/Articles/160/</link>
<guid isPermaLink="true">http://home.zyrianes.net/blog/Articles/160/</guid>
<description><![CDATA[
The shortcut that I never remember:&lt;br /&gt;
Esc + # (Meta + #)&lt;br /&gt;
With Bash, comment the line and go to next line
]]></description>
<dc:creator>ludovic Bellier</dc:creator>
<dc:date>2008-03-22T14:19:02Z</dc:date>
</item>


<item>
<title>Very Simple Test Download via a Proxy Howto</title>
<link>http://home.zyrianes.net/blog/Articles/159/</link>
<guid isPermaLink="true">http://home.zyrianes.net/blog/Articles/159/</guid>
<description><![CDATA[
This simple howto explains howto to check your download rate through a ft proxy&lt;br /&gt;
&lt;br /&gt;
private Proxy&lt;br /&gt;
=============&lt;br /&gt;
&lt;br /&gt;
If it's a private proxy, first create a tunnel to this proxy with ::&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; ssh -l &lt;user&gt; -L 3128:localhost:3128 &lt;host proxy&gt;&lt;br /&gt;
&lt;br /&gt;
Next, configure your proxy::&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; export ftp_proxy=localhost:3128 &lt;proxy_host&gt;&lt;br /&gt;
&lt;br /&gt;
Finally, test your dl with wget::&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; wget&amp;nbsp; --verbose --proxy=on \\&lt;br /&gt;
&amp;nbsp; &amp;nbsp; ftp://ftp.free.fr/mirrors/ftp.ubuntu.com/releases/7.10/ubuntu-7.10-desktop-i386.iso&lt;br /&gt;
&lt;br /&gt;
You can check if your traffic uses the proxy with iftop, example::&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; iftop -i eth0&lt;br /&gt;
&lt;br /&gt;
public or internal Proxy&lt;br /&gt;
========================&lt;br /&gt;
&lt;br /&gt;
You just set your proxy host/port and launch wget::&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; export ftp_proxy=localhost:3128&lt;br /&gt;
&amp;nbsp; &amp;nbsp; wget&amp;nbsp; --verbose --proxy=on \\ &lt;br /&gt;
ftp://ftp.free.fr/mirrors/ftp.ubuntu.com/releases/7.10/ubuntu-7.10-desktop-i386.iso
]]></description>
<dc:creator>ludovic Bellier</dc:creator>
<dc:date>2007-11-18T22:00:13Z</dc:date>
</item>


<item>
<title>TightVNC and VNC_VIA_CMD</title>
<link>http://home.zyrianes.net/blog/Articles/149/</link>
<guid isPermaLink="true">http://home.zyrianes.net/blog/Articles/149/</guid>
<description><![CDATA[
&lt;p&gt;TightVNC has a '-via' option that allows using a gateway through the client and the VNC server.&lt;/p&gt;
&lt;p&gt;TightVNC with this option can use a 'host in the middle' (gateway) to access another host. The VNC_VIA_CMD defines the ssh options to access the gateway.&lt;/p&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
host A access host C through host B. A and B have a public IP, but C is behind B. 
A can access B with ssh.
export VNC_VIA_CMD='/usr/bin/ssh -2 -x -p &amp;lt;B sshd port&amp;gt; -l &amp;lt;B user&amp;gt; -f -L %L:%H:%R %G sleep 20'
vncviewer -via  &amp;lt;B host ip&amp;gt; &amp;lt;C host IP from B&amp;gt;
&lt;/pre&gt;
&lt;p&gt;true life example:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
foo --&amp;gt; gateway.bar.com --&amp;gt; 192.168.1.36
foo&amp;gt; export VNC_VIA_CMD='/usr/bin/ssh -2 -x -p 55 -l foo -f -L %L:%H:%R %G sleep 20'
foo&amp;gt; vncviewer -via  gateway.bar.com 192.168.1.36
&lt;/pre&gt;
&lt;dl&gt;
&lt;dt&gt;links :&lt;/dt&gt;
&lt;dd&gt;&lt;ul class="first last simple"&gt;
&lt;li&gt;&lt;a class="reference" href="http://www.vanemery.com/Linux/VNC/vnc-over-ssh.html"&gt;http://www.vanemery.com/Linux/VNC/vnc-over-ssh.html&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;dt&gt;charcode test:&lt;/dt&gt;
&lt;dd&gt;&lt;ul class="first last simple"&gt;
&lt;li&gt;&amp;amp;&lt;/li&gt;
&lt;li&gt;&amp;amp;amp;&lt;/li&gt;
&lt;li&gt;&amp;amp;#38;&lt;/li&gt;
&lt;/ul&gt;
&lt;/dd&gt;
&lt;/dl&gt;

]]></description>
<dc:creator>ludovic Bellier</dc:creator>
<dc:date>2005-05-16T21:41:19Z</dc:date>
</item>



</channel>
</rss>