{"id":589,"date":"2019-11-10T05:44:02","date_gmt":"2019-11-10T03:44:02","guid":{"rendered":"https:\/\/blog.chloesoe.ch\/?p=589"},"modified":"2024-10-01T12:54:55","modified_gmt":"2024-10-01T10:54:55","slug":"connect-with-android-keepass-to-hetzners-storage-box","status":"publish","type":"post","link":"https:\/\/blog.chloesoe.ch\/?p=589","title":{"rendered":"Connect with Android Keepass to Hetzner&#8217;s Storage Box"},"content":{"rendered":"<p>The goal is to connect Keepass2Android (used version 1.07b-r0) on Android to the Keepass database on a Hetzner Storage Box. In <a href=\"https:\/\/blog.chloesoe.ch\/?p=546\">https:\/\/blog.chloesoe.ch\/?p=546<\/a> it is described, how to connect and store your Keepass DB to the Storage Box.<\/p>\n<p>Now we want to connect the mobile phone to that database.<\/p>\n<ol>\n<li>In Keepass Android choose &quot;Open File&quot; and then &quot;SFTP (SSH File Transfer)&quot;<\/li>\n<li>There you have to enter the connection details:\n<ol>\n<li>Host: $USERNAME.your-storagebox.de<\/li>\n<li>Port: 23<\/li>\n<li>Username: Your user name ;-)<br \/>\n4: Authentication mode: Privat\/Public Key<\/p>\n<ol>\n<li>choose &quot;Send public key&quot;. You could send it via e-mail; the public key is not sensitive. Make sure you send it somwhere, where you can access it like in <a href=\"https:\/\/blog.chloesoe.ch\/?p=546\">https:\/\/blog.chloesoe.ch\/?p=546<\/a> described.<\/li>\n<li>Save the public key to a file <code>pubkey_android<\/code> (you could change the key name at the end of the line of thet new file if you like).<\/li>\n<li>If you safed it like that, then you could run this:\n<pre><code class=\"language-bash\">read -p &quot;Enter your Hetzner&#039;s username: &quot; USERNAME\nrsync --progress -e &#039;ssh -p23&#039;  $USERNAME@$USERNAME.your-storagebox.de:.ssh\/authorized_keys .\ncat pubkey_android &gt;&gt; authorized_keys\nrsync --progress -e &#039;ssh -p23&#039;  authorized_keys $USERNAME@$USERNAME.your-storagebox.de:.ssh\/<\/code><\/pre>\n<\/li>\n<\/ol>\n<\/li>\n<li>Initial directory: \/home<\/li>\n<\/ol>\n<\/li>\n<li>Now you can connect and choose your Keepass database file.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>The goal is to connect Keepass2Android (used version 1.07b-r0) on Android to the Keepass database on a Hetzner Storage Box. In https:\/\/blog.chloesoe.ch\/?p=546 it is described, how to connect and store your Keepass DB to the Storage Box. Now we want to connect the mobile phone to that database. In Keepass Android choose &quot;Open File&quot; and&#8230; <a href=\"https:\/\/blog.chloesoe.ch\/?p=589\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Connect with Android Keepass to Hetzner&#8217;s Storage Box<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[24],"class_list":["post-589","post","type-post","status-publish","format-standard","hentry","category-linux","tag-hetzner"],"_links":{"self":[{"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=\/wp\/v2\/posts\/589","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=589"}],"version-history":[{"count":4,"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=\/wp\/v2\/posts\/589\/revisions"}],"predecessor-version":[{"id":594,"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=\/wp\/v2\/posts\/589\/revisions\/594"}],"wp:attachment":[{"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=589"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=589"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.chloesoe.ch\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=589"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}