<story><title>Magic-Wormhole – Get things from one computer to another, safely</title><url>https://github.com/warner/magic-wormhole</url></story><parent_chain><item><author>bhenc</author><text>&amp;gt; Copying files with ssh&amp;#x2F;scp is fine, but requires previous arrangements and an account on the target machine, and how do you bootstrap the account?~&lt;p&gt;Assuming that you have openssh and rssh installed, you bootstrap like this:
useradd -m -g users -s &amp;#x2F;usr&amp;#x2F;bin&amp;#x2F;rssh tmp
passwd tmp
edit &amp;#x2F;etc&amp;#x2F;rssh.conf and uncomment allowscp
Share the password with the party you want to exchange data with. Make sure your ports are open.&lt;p&gt;See: &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;serverfault.com&amp;#x2F;questions&amp;#x2F;197545&amp;#x2F;can-non-login-accounts-in-linux-make-scp-connections&amp;#x2F;197546&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;serverfault.com&amp;#x2F;questions&amp;#x2F;197545&amp;#x2F;can-non-login-accou...&lt;/a&gt;&lt;p&gt;The use case I see for wormhole is if you&amp;#x27;re working purely in the python ecosystem. That&amp;#x27;s it.&lt;p&gt;You&amp;#x27;re free to disagree of course, but I prefer ssh, since it&amp;#x27;s peer-to-peer end-to-end encrypted,
and extends to cover other use cases much more easily (rsync, VNC, etc.).</text></item></parent_chain><comment><author>bb88</author><text>Okay.&lt;p&gt;Step 1.  Open ports on your router.  It&amp;#x27;s your job to figure out which ports those may be.&lt;p&gt;Step 2.  Redirect said ports to the box in question, hopefully you&amp;#x27;ll know the ip address that was assigned by your home router&amp;#x27;s DHCP&lt;p&gt;Step 3.  Make sure rssh is installed.&lt;p&gt;Step 4.  If rssh is not installed, please simply follow the simple instructions to get it installed for your system.&lt;p&gt;Step 4a.  If it&amp;#x27;s a mac, use brew.  Type brew install rssh&lt;p&gt;Step 4b.  If it&amp;#x27;a a redhat system, type yum install rssh&lt;p&gt;Step 4c.  If it&amp;#x27;s an ubuntu system, type apt-get install rssh&lt;p&gt;Step 4d.  If step 4b and step 4c fail, use sudo.&lt;p&gt;Step 5.  Get the external facing ip address, and give it to your friend.  Note that this is different than the internal address that you used in step 2.&lt;p&gt;Step 6.  Create an account on your system, using rssh, and allowing sftp&lt;p&gt;Step 7.  Give him the username&amp;#x2F;password&lt;p&gt;Step 8.  Copy the file into his account&lt;p&gt;Step 8a.  Don&amp;#x27;t forget to chmod it so he can read it.&lt;p&gt;Step 9.  Tell him to get the file&lt;p&gt;Step 10.  Remove the account from &amp;#x2F;etc&amp;#x2F;passwd and &amp;#x2F;etc&amp;#x2F;shadow and remove him from &amp;#x2F;etc&amp;#x2F;groups.  Also delete his home directory&lt;p&gt;Step 11.  Rejoice in the simplicity.</text></comment>
<story><title>Magic-Wormhole – Get things from one computer to another, safely</title><url>https://github.com/warner/magic-wormhole</url></story><parent_chain><item><author>bhenc</author><text>&amp;gt; Copying files with ssh&amp;#x2F;scp is fine, but requires previous arrangements and an account on the target machine, and how do you bootstrap the account?~&lt;p&gt;Assuming that you have openssh and rssh installed, you bootstrap like this:
useradd -m -g users -s &amp;#x2F;usr&amp;#x2F;bin&amp;#x2F;rssh tmp
passwd tmp
edit &amp;#x2F;etc&amp;#x2F;rssh.conf and uncomment allowscp
Share the password with the party you want to exchange data with. Make sure your ports are open.&lt;p&gt;See: &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;serverfault.com&amp;#x2F;questions&amp;#x2F;197545&amp;#x2F;can-non-login-accounts-in-linux-make-scp-connections&amp;#x2F;197546&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;serverfault.com&amp;#x2F;questions&amp;#x2F;197545&amp;#x2F;can-non-login-accou...&lt;/a&gt;&lt;p&gt;The use case I see for wormhole is if you&amp;#x27;re working purely in the python ecosystem. That&amp;#x27;s it.&lt;p&gt;You&amp;#x27;re free to disagree of course, but I prefer ssh, since it&amp;#x27;s peer-to-peer end-to-end encrypted,
and extends to cover other use cases much more easily (rsync, VNC, etc.).</text></item></parent_chain><comment><author>dmd</author><text>&amp;gt; you bootstrap like this&lt;p&gt;Ah, yes. oh come on please it&amp;#x27;s easy just &amp;#x2F;etc&amp;#x2F;init.apt-get&amp;#x2F;frob-set-conf --arc=0 - +&amp;#x2F;lib&amp;#x2F;syn.${SETDCONPATH}.so.4.2 even my grandma can do that</text></comment>