{"id":826,"date":"2021-03-22T12:00:00","date_gmt":"2021-03-22T19:00:00","guid":{"rendered":"https:\/\/letsbuildroboticswithshadow8472.com\/?p=826"},"modified":"2021-03-22T01:51:54","modified_gmt":"2021-03-22T08:51:54","slug":"bitwarden-operational-and-ssh-housecleaning","status":"publish","type":"post","link":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/2021\/03\/22\/bitwarden-operational-and-ssh-housecleaning\/","title":{"rendered":"BitWarden Operational and SSH Housecleaning"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Good Morning from my Robotics Lab! This is Shadow_8472, and today, I am giving my BitWarden server a bit of a shake down, and since that didn&#8217;t take as long as expected, I have a story or two from rearranging my SSH keys. Let&#8217;s get started!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Server Fully Operational<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Picking up from last week, I installed a BitWarden home server on BlinkiePi and set it up with a static IP making sure it had a unique hostname. To test it, I plugged it directly into my home router. I had to generate and install a self-signed security certificate so the browser plugin could recognize my server once I had directed its traffic appropriately.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I started early this week, expecting the firewall to be crazy complicated and maybe an exercise in futility, but that wasn&#8217;t the case. I found a package literally named &#8220;uncomplicated fire wall&#8221; (ufw). It installed no problem and I was easily able to reject unrecognized traffic by default, then allow ports for SSH and BitWarden.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I then went ahead and installed BitWarden plugins on my remaining computers, trying and failing to follow all the important steps from memory until I gave in and looked up the tutorial again. Later on in the week, I wanted to ensure my setup could withstand a power blink, so I cut power and and later restored it. I expected I&#8217;d need to spend a few hours trying to figure out how to get it auto started, but it&#8217;s almost like this project <em>wants<\/em> to short me of content, because I was able to reach its web interface no problem.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">SSH Keys Between My Computers<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">I don&#8217;t like entering passwords every time I want to log into a system. SSH keys are way faster and more secure because the host machines are essentially letting you in as you essentially scan an ID instead of stopping to perform a secret handshake that can be more easily faked.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I did some research a while ago, and I found questions as to if the rsa method of making keys was still okay to use. To be honest, if it wasn&#8217;t, OpenSSH would probably push an update blocking its usage or at least notifying users that it&#8217;s been cracked wide open.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Nevertheless, when I redid my SSH easy access network, I used ed25519 to make my keys, and I transferred them over with <strong>ssh-copy-id<\/strong> to move them from one computer to another. I have three workstations I flip flop between, as well as my new password server and my Pi400 hack router. Now that I think about it, I could include the NAS and the Pi4 serving as our entertainment center, but that will wait for a later date.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">One nice surprise I found was when I was copying a key from my main desktop on the 400&#8217;s subnet to one of my machines on the wider home network, and when my desktop didn&#8217;t recognize the computer, but the Pi400 did, the router vouched for the host I was reaching out to.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Takeaway<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">I suppose I could improve my setup with auto updates. That will mean another hole punched in the firewall, but in all reality, that&#8217;s a topic across my network for another day.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Final Question<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you were to spend a week in space, what games would you feel obliged to play along the way?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Good Morning from my Robotics Lab! This is Shadow_8472, and today, I am giving my BitWarden server a bit of a shake down, and since that didn&#8217;t take as long as expected, I have a story or two from rearranging my SSH keys. Let&#8217;s get started! Server Fully Operational Picking up from last week, I &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/2021\/03\/22\/bitwarden-operational-and-ssh-housecleaning\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;BitWarden Operational and SSH Housecleaning&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-826","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/posts\/826","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/comments?post=826"}],"version-history":[{"count":1,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/posts\/826\/revisions"}],"predecessor-version":[{"id":827,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/posts\/826\/revisions\/827"}],"wp:attachment":[{"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/media?parent=826"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/categories?post=826"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/letsbuildroboticswithshadow8472.com\/index.php\/wp-json\/wp\/v2\/tags?post=826"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}