<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Crypto on Janik von Rotz</title>
    <link>https://janikvonrotz.ch/tags/crypto/</link>
    <description>Recent content in Crypto on Janik von Rotz</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Thu, 22 Aug 2024 08:40:10 +0200</lastBuildDate>
    <atom:link href="https://janikvonrotz.ch/tags/crypto/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Copy SSH private key to Termux</title>
      <link>https://janikvonrotz.ch/2024/08/22/copy-ssh-private-key-to-termux/</link>
      <pubDate>Thu, 22 Aug 2024 08:40:10 +0200</pubDate>
      <guid>https://janikvonrotz.ch/2024/08/22/copy-ssh-private-key-to-termux/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;https://termux.dev/en/&#34;&gt;Termux&lt;/a&gt; is a beautiful terminal emulator Android app. As I am working mostly on the command line I wanted to be able to do the same on phone. And most importantly in a case of emergency where I don&amp;rsquo;t have access to my computer I want to able to access my servers and run some commands. This requires to setup existing SSH private keys in the Termux.&lt;/p&gt;&#xA;&lt;p&gt;I haven&amp;rsquo;t found a good tutorial that explains how to do this. It&amp;rsquo;s actually very easy.&lt;/p&gt;&#xA;&lt;p&gt;First you need to able to access your private key file from your phone. In my case I uploaded the file &lt;code&gt;id_ed25519&lt;/code&gt; to my private Nextcloud. On my phone I access the file and choose Termux to open the file.&lt;/p&gt;&#xA;&lt;p&gt;Termux then shows this dialog:&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://janikvonrotz.ch/images/Save%20file%20in%20Termux.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;You choose &lt;em&gt;Open Directory&lt;/em&gt;. The file is saved in &lt;code&gt;~/download&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Before we move the file to the correct location. Make sure that you have installed the openssh package.&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;apt update &lt;span style=&#34;color:#f92672&#34;&gt;&amp;amp;&amp;amp;&lt;/span&gt; apt upgrade&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;pkg install openssh&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This will create the ssh folder in your home directory and provide the &lt;code&gt;ssh&lt;/code&gt; command.&lt;/p&gt;&#xA;&lt;p&gt;You can then move the file.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://janikvonrotz.ch/images/Move%20file%20in%20Termux.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;Now you can access your server using the private ssh key.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://janikvonrotz.ch/images/SSH%20to%20server%20in%20Termux.png&#34; alt=&#34;&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;Note that you cannot change the username in Termux and therefore need to provide the username on the server in the ssh command.&lt;/p&gt;</description>
    </item>
    <item>
      <title>My Dogecoin experience part 1 - Mining Hardware</title>
      <link>https://janikvonrotz.ch/2014/05/08/my-dogecoin-experience-part-1-mining-hardware/</link>
      <pubDate>Thu, 08 May 2014 09:24:46 +0000</pubDate>
      <guid>https://janikvonrotz.ch/2014/05/08/my-dogecoin-experience-part-1-mining-hardware/</guid>
      <description>&lt;p&gt;Based on a internet meme and funded as a joke &lt;a href=&#34;http://www.dogecoin.com/&#34;&gt;the Dogecoin crypto currency&lt;/a&gt; is getting really serious about their business.&lt;/p&gt;&#xA;&lt;p&gt;Just for fun I&amp;rsquo;ve bought some computer hardware to &lt;a href=&#34;http://www.minedogecoin.com/&#34;&gt;mine some doges&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Here&amp;rsquo;s a list of hardware I&amp;rsquo;ve bought in case you&amp;rsquo;re also interest in this crypto currency mining stuff.&lt;/p&gt;&#xA;&lt;p&gt;Digitec is my local retailer in switzerland, the type of hardware is almost the same.&lt;/p&gt;&#xA;&lt;h1 id=&#34;hardware&#34;&gt;Hardware&lt;/h1&gt;&#xA;&lt;h2 id=&#34;gpu&#34;&gt;GPU&lt;/h2&gt;&#xA;&lt;p&gt;Cgminer is the simplest and most effective miner to use. That&amp;rsquo;s why you should buy a AMD GPU.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;MSI Computer Corp. Video Graphics Card R9 270 GAMING 2G&lt;/strong&gt;&lt;br&gt;&#xA;This is a good GPU with an average performance. A good thing to start.&lt;br&gt;&#xA;&lt;a href=&#34;http://www.amazon.com/MSI-Computer-Corp-270-GAMING/dp/B00GMGGZQE%3FSubscriptionId%3DAKIAICZ5MWPSU546IZUA%26tag%3Dmyoid-20%26linkCode%3Dsp1%26camp%3D2025%26creative%3D165953%26creativeASIN%3DB00GMGGZQE&#34;&gt;Amazon&lt;/a&gt; $184&lt;br&gt;&#xA;&lt;a href=&#34;https://shop.digitec.ch/de/s1/product/msi-r9-270-gaming-2g-2gb-pci-e-x16-30-dp-hdmi-2gb-grafikkarte-2385919&#34;&gt;Digitec&lt;/a&gt; 186.–&lt;/p&gt;&#xA;&lt;h2 id=&#34;cpu&#34;&gt;CPU&lt;/h2&gt;&#xA;&lt;p&gt;Processing speed of the CPU makes no difference for mining. We just need something that can run the operating system. Plus this CPU is actually good because it uses less power.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;AMD Sempron 145 Processor (SDX145HBGMBOX)&lt;/strong&gt; &lt;br&gt;&#xA;&lt;a href=&#34;http://www.amazon.com/gp/product/B0040BPHJO/ref=as_li_ss_tl?ie=UTF8&amp;amp;camp=1789&amp;amp;creative=390957&amp;amp;creativeASIN=B0040BPHJO&amp;amp;linkCode=as2&amp;amp;tag=myoid-20&#34;&gt;Amazon&lt;/a&gt; $30&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;AMD Athlon II X3 455 (AM2+, AM3, 3.30GHz, Unlocked)&lt;/strong&gt;&lt;br&gt;&#xA;&lt;a href=&#34;https://shop.digitec.ch/de/s1/product/amd-athlon-ii-x3-455-am2-am3-330ghz-unlocked-prozessor-401957?tagIds=76&#34;&gt;Digitec&lt;/a&gt; 67.-&lt;/p&gt;&#xA;&lt;h2 id=&#34;cpu-cooler&#34;&gt;CPU Cooler&lt;/h2&gt;&#xA;&lt;p&gt;&lt;strong&gt;Arctic Freezer 13 PRO (120mm)&lt;/strong&gt;&lt;br&gt;&#xA;&lt;a href=&#34;https://shop.digitec.ch/de/s1/product/arctic-freezer-13-pro-120mm-cpu-kuehler-260039&#34;&gt;Digitec&lt;/a&gt; 48.-&lt;/p&gt;&#xA;&lt;h2 id=&#34;power-supply&#34;&gt;Power Supply&lt;/h2&gt;&#xA;&lt;p&gt;&lt;strong&gt;SeaSonic Platinum SS-860XP2 Power Supply&lt;/strong&gt;&lt;br&gt;&#xA;This is a really high quality power supply. The main benefit this has over other power supplies that are a little cheaper, is that the energy efficiency is much better than what others recommend (Being Platinum Rated).  This will mean your electricity is much cheaper, and over the long run it will pay for itself.&lt;br&gt;&#xA;&lt;a href=&#34;http://www.amazon.com/gp/product/B00608MP5E/ref=ox_sc_act_title_9?ie=UTF8&amp;amp;psc=1&amp;amp;smid=ATVPDKIKX0DER&#34;&gt;Amazon&lt;/a&gt; $180&lt;br&gt;&#xA;&lt;a href=&#34;https://shop.digitec.ch/de/s1/product/seasonic-p-860-ss-860xp-f3-platinum-860w-pc-netzteil-267916&#34;&gt;Digitec&lt;/a&gt; 200.–&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Cooler Master V850 - 850W Power Supply with Fully Modular Cables and 80 PLUS Gold Certification&lt;/strong&gt;&lt;br&gt;&#xA;&lt;a href=&#34;http://www.amazon.com/gp/product/B00CGY4EUA/ref=as_li_ss_tl?ie=UTF8&amp;amp;camp=1789&amp;amp;creative=390957&amp;amp;creativeASIN=B00CGY4EUA&amp;amp;linkCode=as2&amp;amp;tag=myoid-20&#34;&gt;Amazon&lt;/a&gt; $169&lt;br&gt;&#xA;&lt;a href=&#34;https://shop.digitec.ch/de/s1/product/cooler-master-v-serie-v850-850w-pc-netzteil-457130&#34;&gt;Digitec&lt;/a&gt; 187.-&lt;/p&gt;&#xA;&lt;h2 id=&#34;motherborad&#34;&gt;Motherborad&lt;/h2&gt;&#xA;&lt;p&gt;&lt;strong&gt;ASUS M5A97 R2.0 AM3+ AMD 970 SATA 6Gb/s USB 3.0 ATX AMD Motherboard&lt;/strong&gt;&lt;br&gt;&#xA;This motherboard is a good choice for being cheap and able to handle the 3 graphics cards (Up to 4 actually).  But you will need powered extenders.&lt;br&gt;&#xA;&lt;a href=&#34;http://www.amazon.com/gp/product/B008V9959O/ref=as_li_ss_tl?ie=UTF8&amp;amp;camp=1789&amp;amp;creative=390957&amp;amp;creativeASIN=B008V9959O&amp;amp;linkCode=as2&amp;amp;tag=myoid-20&#34;&gt;Amazon&lt;/a&gt; $88&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;ASUS M5A99X EVO R2 (AM3+, AMD 990X, ATX)&lt;/strong&gt;&lt;br&gt;&#xA;&lt;a href=&#34;https://shop.digitec.ch/de/s1/product/asus-m5a99x-evo-r2-am3-amd-990x-atx-mainboard-374018&#34;&gt;Digitec&lt;/a&gt; 138.–&lt;/p&gt;&#xA;&lt;h2 id=&#34;hard-drive&#34;&gt;Hard Drive&lt;/h2&gt;&#xA;&lt;p&gt;Just big enough for the OS.  Since we are just using it for mining this will be fine.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;ADATA USA Premier Pro SP600 2.5-Inch 64 GB SATA III MLC Internal Solid State Drive ASP600S3-64GM-C&lt;/strong&gt;&lt;br&gt;&#xA;&lt;a href=&#34;http://www.amazon.com/gp/product/B009SX8WEQ/ref=ox_sc_act_title_1?ie=UTF8&amp;amp;psc=1&amp;amp;smid=ATVPDKIKX0DER&#34;&gt;Amazon&lt;/a&gt; $49&lt;br&gt;&#xA;&lt;a href=&#34;https://shop.digitec.ch/de/s1/product/a-data-adata-premier-pro-sp900-64gb-64gb-25-35-bracket-ssd-764627&#34;&gt;Digitec&lt;/a&gt; 57.-&lt;/p&gt;&#xA;&lt;h2 id=&#34;ram&#34;&gt;Ram&lt;/h2&gt;&#xA;&lt;p&gt;All we need is 4gigs or so of ram.  RAM has no impact on mining, we just need enough to run the OS.  You might be able to pick up a stick for slightly cheaper, but this one is good and more consistently in stock.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Kingston Hyper X Blu 4 GB 1600MHz DDR3 Non-ECC CL9 Desktop Memory (KHX1600C9D3B1/4G)&lt;/strong&gt;&lt;br&gt;&#xA;&lt;a href=&#34;http://www.amazon.com/gp/product/B0057Q4AGW/ref=as_li_ss_tl?ie=UTF8&amp;amp;camp=1789&amp;amp;creative=390957&amp;amp;creativeASIN=B0057Q4AGW&amp;amp;linkCode=as2&amp;amp;tag=myoid-20&#34;&gt;Amazon&lt;/a&gt; $49&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Corsair XMS3 (1x, 4GB, DDR3-1333)&lt;/strong&gt;&lt;br&gt;&#xA;&lt;a href=&#34;https://shop.digitec.ch/de/s1/product/corsair-xms3-1x-4gb-ddr3-1333-arbeitsspeicher-240212?tagIds=76&#34;&gt;Digitec&lt;/a&gt; 44.–&lt;/p&gt;&#xA;&lt;h2 id=&#34;riser-cables-for-graphics-cards&#34;&gt;Riser Cables for Graphics Cards&lt;/h2&gt;&#xA;&lt;p&gt;The motherboard has 2 PCI-Express x16 and 2 1x slots.  So you can go with 2 PCIE “1x-16″ risers and 1 PCIE &amp;ldquo;16x-16x&amp;rdquo; Riser or vice versa. I went with 1- x16 riser and 2 x 1 to 16 riser to reduce power usage through the motherboard.  It is important for the 1x to 16x ones are powered, so that your motherboard isn’t overloaded.  Risers are also necessary to help disperse heat.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Qody PCI-E Extension Cable: 1X to 16X (powered)&lt;/strong&gt;&lt;br&gt;&#xA;&lt;a href=&#34;http://www.amazon.com/gp/product/B00FQJ077Q/ref=ox_sc_act_title_2?ie=UTF8&amp;amp;psc=1&amp;amp;smid=A2QU1JBNPLNT4J&#34;&gt;Amazon&lt;/a&gt; 5$&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Micro SATA Cables - PCI-E Express 16X Riser Card with Flexible Cable&lt;/strong&gt;&lt;br&gt;&#xA;&lt;a href=&#34;http://www.amazon.com/gp/product/B0057M16Q8/ref=ox_sc_act_title_3?ie=UTF8&amp;amp;psc=1&amp;amp;smid=A3JT9N5IAS99RQ&#34;&gt;Amazon&lt;/a&gt; 8$&lt;/p&gt;&#xA;&lt;h2 id=&#34;case&#34;&gt;Case&lt;/h2&gt;&#xA;&lt;p&gt;Most miners go with a simple milk crate to hold their components.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;Sterilite 16929006 Storage Crate, Black&lt;/strong&gt;&lt;br&gt;&#xA;&lt;a href=&#34;http://www.amazon.com/gp/product/B0001ACQQA/ref=as_li_ss_tl?ie=UTF8&amp;amp;camp=1789&amp;amp;creative=390957&amp;amp;creativeASIN=B0001ACQQA&amp;amp;linkCode=as2&amp;amp;tag=myoid-20&#34;&gt;Amazon&lt;/a&gt; $12&lt;/p&gt;&#xA;&lt;h2 id=&#34;wireless-card-optional&#34;&gt;Wireless Card (optional)&lt;/h2&gt;&#xA;&lt;p&gt;Make sure the wireless card is PCI, not PCIE, so if you want to add another graphics card later, you won’t be using a PCIE slot by your wireless card.&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;TP-LINK TL-WN951N Wireless N300 Advanced PCI Adapter, 2.4GHz 300Mbps, Include Low-profile Bracket&lt;/strong&gt;&lt;br&gt;&#xA;&lt;a href=&#34;http://www.amazon.com/gp/product/B0034CL2ZI/ref=ox_sc_act_title_6?ie=UTF8&amp;amp;psc=1&amp;amp;smid=ATVPDKIKX0DERv&#34;&gt;Amazon&lt;/a&gt; $28&lt;/p&gt;&#xA;&lt;p&gt;&lt;strong&gt;TP-LINK TL-WN851ND, n300 (PCI)&lt;/strong&gt;&#xA;&lt;a href=&#34;https://shop.digitec.ch/de/s1/product/tp-link-tl-wn851nd-n300-pci-netzwerkadapter-435722&#34;&gt;Digitec&lt;/a&gt; 22.-&lt;/p&gt;&#xA;&lt;h1 id=&#34;software&#34;&gt;Software&lt;/h1&gt;&#xA;&lt;p&gt;I&amp;rsquo;ll recommand to install a Windows 7. Everything else required is opensource.&lt;/p&gt;&#xA;&lt;h1 id=&#34;source&#34;&gt;Source&lt;/h1&gt;&#xA;&lt;p&gt;&lt;a href=&#34;http://www.minedogecoin.com/building-a-nice-dogecoin-mining-rig-for-1000-dollars/&#34;&gt;http://www.minedogecoin.com/building-a-nice-dogecoin-mining-rig-for-1000-dollars/&lt;/a&gt;&lt;br&gt;&#xA;&lt;a href=&#34;http://www.minedogecoin.com/top-graphics-cards-in-stock/&#34;&gt;http://www.minedogecoin.com/top-graphics-cards-in-stock/&lt;/a&gt;&lt;/p&gt;&#xA;&lt;p&gt;Get the latest version of this list here: &lt;a href=&#34;https://gist.github.com/447c906e16c2c8be5719&#34;&gt;https://gist.github.com/447c906e16c2c8be5719&lt;/a&gt;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
