<?xml version="1.0"?>
<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/"
	>
   <channel>
      <pubDate>Thu, 4 Dec 2008 01:47:34 GMT</pubDate>
      <lastBuildDate>Thu, 4 Dec 2008 01:47:34 GMT</lastBuildDate>
      <language>en</language>
      <docs>http://www.rssboard.org/rss-specification</docs>
      <title>CrunchBang ~ bittorrent</title>
      <link>http://crunchbang.org/tags/bittorrent/</link>
      <description>Code, Design &amp; GNU/Linux</description>

<item>
    <title>Remote Torrent Downloads Via SSH</title>
    <link>http://crunchbang.org/archives/2007/10/24/remote-torrent-downloads-via-ssh/</link>
    <pubDate>Wed, 24 Oct 2007 13:18:35 GMT</pubDate>
    <dc:creator>Philip Newborough</dc:creator>
    <guid>http://crunchbang.org/archives/2007/10/24/remote-torrent-downloads-via-ssh/</guid>
    <description><![CDATA[
    <p>I don&#39;t like using bittorrent to download large files when I&#39;m using my network at home; the process consumes my net connection and simple tasks like browsing the web become painfully slow. Instead, I start my torrent sessions remotely via an SSH connection while I&#39;m at work. By doing this I maximise the potential of my 512k ADSL line by using it for downloading torrents when I&#39;m connected to a different network.</p>

<h3>SSH Server</h3>

<p>On my home network I have an old Toshiba laptop running <a href="http://www.ubuntu.com/products/WhatIsUbuntu/serveredition " title="Ubuntu Server Edition">Ubuntu Server Edition</a>. This system has OpenSSH Server installed and allows me to connect to my home network from my place of work. Unfortunately, installing, configuring and using OpenSSH Server is beyond the scope of this post. However, it&#39;s not too difficult and there are plenty of good articles out there about the subject. See: <a href="https://help.ubuntu.com/7.04/server/C/openssh-server.html " title="Installing SSH Server">https://help.ubuntu.com/7.04/server/C/openssh-server.html</a></p>

<h3>Screen and BitTornado</h3>

<p>Once I&#39;m connected to my home network I then use a combination of <a href="http://www.gnu.org/software/screen/ " title="GNU Screen">Screen</a> and <a href="http://www.bittornado.com/ " title="BitTornado">BitTornado</a> to download any torrent files.</p>

<p>Screen enables me to start a download and exit my SSH connection without stopping the download. I can then reconnect via SSH and use the command &#34;<code>screen -r</code>&#34; to return to the download screen and check on the progress of the download.</p>

<p>BitTornado is not required but I like it as it adds additional features to Ubuntu&#39;s default bittorrent client.</p>

<p>You can install Screen and BitTornado with the following terminal command:</p>

<pre><code>sudo apt-get install screen bittornado
</code></pre>

<h3>Usage</h3>

<p><strong>1.</strong> To start a new download enter the following command [<em>remember to replace the example URL with the location of the real torrent</em>]:</p>

<pre><code>screen btdownloadcurses http://example.com/example.torrent
</code></pre>

<p>You should now be able to see something similar to the screengrab below:</p>

<p><span style="outline:4px solid #babdb6;"><img src="http://crunchbang.org/uploads/102407060821-btdownloadcurses.png" alt="Example of Screen and BitTornado" /></span></p>

<p><strong>2.</strong> To detached the screen and leave the download running use the following key combination:</p>

<pre><code>&lt;Ctrl&gt;+&lt;A&gt;+&lt;D&gt;
</code></pre>

<p><strong>3.</strong> To reattach the screen enter the following command:</p>

<pre><code>screen -r
</code></pre>

<p><strong>4.</strong> Once the download has finished you can kill the screen with the following key combination:</p>

<pre><code>&lt;Ctrl&gt;+&lt;C&gt;
</code></pre>

<p><strong>Notes:</strong> If you have multiple screens running, entering the command &#34;<code>screen -r</code>&#34; will return a list of available screens to reattach.</p>

<p>More information about Screen and its usage is available with the following terminal command:</p>

<pre><code>man screen
</code></pre>

    <p style="font-size:smaller;">Tags: <a href="http://crunchbang.org/tags/bittorrent/" title="Browse all posts tagged with &#8220;bittorrent&#8221;">bittorrent</a>, <a href="http://crunchbang.org/tags/linux/" title="Browse all posts tagged with &#8220;linux&#8221;">linux</a>, <a href="http://crunchbang.org/tags/ssh/" title="Browse all posts tagged with &#8220;ssh&#8221;">ssh</a>, <a href="http://crunchbang.org/tags/ubuntu/" title="Browse all posts tagged with &#8220;ubuntu&#8221;">ubuntu</a></p>
    ]]></description>
</item>

 </channel>
</rss>