Jekyll2018-03-28T00:58:51+00:00/Hack Night LBCWe are a local Long Beach Tech meetup aspiring to connect the best minds of long beach with other great minds and the minds that need their services. Come join us every Tuesday for a chance to network and learn.
Public / Private Key Encryption with SSH2018-01-23T00:00:00+00:002018-01-23T00:00:00+00:00/2018/01/23/public-key-ssh<p>To wrap our heads around the concept of the key access let’s go over some of the basics.</p>
<p><strong>From <a href="https://en.wikipedia.org/wiki/Secure_Shell">Wikipedia</a></strong>: Secure Shell (SSH) is a cryptographic network protocol for operating network services securely over an unsecured network. The best known example application is for remote login to computer systems by users.</p>
<p>The idea is that one machine (Client) can remotly call another machine (Server) and share an encrypted connection. This connection was similar to telnet but with the added security of cryptographic security.</p>
<h2 id="public-and-private-key">Public and Private key</h2>
<p>By default most SSH servers are only secured by a username and password. That’s not the most secure system as it can be brute-forced. There are bots on the web that dig around for unpached SSH servers with default <a href="#">logins still enabled</a>.</p>
<p>Using a public / private key solution is far more secure.</p>
<p>By default when we generate a ssh-key it outputs a <code class="highlighter-rouge">id_rsa</code> and an <code class="highlighter-rouge">id_rsa.pub</code> file. To automattically have the host accept the cliet’s key the contents of <code class="highlighter-rouge">id_rsa.pub</code> should be in the hosts’ <code class="highlighter-rouge">authorized_keys</code> file. These are all text files so the <code class="highlighter-rouge">authorized_keys</code> file can have multible lines equating to devices.</p>
<h2 id="getting-it-down">Getting it down</h2>
<p>On the host we need to generate the key.</p>
<p><code class="highlighter-rouge">ssh-keygen -t rsa -b 4096 -C "[email protected]"</code></p>
<p>It will ask you for a password. It’s highly recomended. Serices like Github won’t work without a password. It’ll also ask what to name the files but <code class="highlighter-rouge">id_rsa</code> is probably the best.</p>
<p>There are few high tech solutions to sending the public key to the host but I usually push it through ssh or on a thumb drive. Once the public key is on the host, from the host session run:</p>
<p><code class="highlighter-rouge">cat id_rsa.pub >> .ssh/authorized_keys</code></p>
<p>This will add the key to the end of the authorized key list or generate that file if it’s not already there.</p>
<h2 id="sshd">SSHD</h2>
<p>Now that everything is all set up with the keys it’s time to remove the password logins.</p>
<p>Edit the <code class="highlighter-rouge">sshd_config</code>:</p>
<p>Change the <code class="highlighter-rouge">PublicAuthentication no</code> to yes and change:</p>
<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>ChallengeResponseAuthentication no
PasswordAuthentication no
UsePAM no
</code></pre></div></div>
<p>The last step is to restart the SSHD server.</p>
<p>System D:<br />
<code class="highlighter-rouge">sudo systemctl restart sshd</code></p>
<p>Init.d:<br />
<code class="highlighter-rouge">/etc/init.d/sshd restart</code></p>
<p>The next time you login everything should connect without a password.</p>To wrap our heads around the concept of the key access let’s go over some of the basics.Git Crashcorse - Night Two2017-11-26T00:00:00+00:002017-11-26T00:00:00+00:00/2017/11/26/git-crashcorse-night-2<p>After setting up <a href="/2017/11/21/git-crashcorse.html">Git on your local machine</a> we will start some simple lessions.</p>
<h3 id="poems-not-code">Poems, Not Code</h3>
<p>To simplify our jorney into Git we will be using simple poems in the place of code. If you don’t already have access to our <a href="https://github.com/hacknightlbc/poems">poem repository</a> feel free to ask us to get you connected.</p>
<p><code class="highlighter-rouge">git clone [email protected]:hacknightlbc/poems.git</code></p>
<p>Original or public domain poems only, please.</p>After setting up Git on your local machine we will start some simple lessions.Git Crashcorse2017-11-21T00:00:00+00:002017-11-21T00:00:00+00:00/2017/11/21/git-crashcorse<p>Tonight we’ll be covering some basics of using <a target="_blank" href="https://git-scm.com/">Git</a>. Git is a version control system for text and code. Probably the fastest way to dig into Git is by using the online <a target="_blank" href="https://try.github.io/levels/1/challenges/1">Git Tutorial</a>. It’s easy and only take 15 minutes.</p>
<p>The second part we’ll tackle is installing Git on your local machine.</p>
<p><strong>For Linux and Windows Subsystem for Linux</strong></p>
<p><em>This was designed for Ubuntu based systems.</em></p>
<p><code class="highlighter-rouge">sudo apt install git</code></p>
<p><strong>For MacOS Systems</strong></p>
<p>You can download the Git binaries from the <a target="_blank" href="https://git-scm.com/download/mac">download</a> page.</p>
<p>With <a target="_blank" href="https://brew.sh/">Brew</a> installed you can run:</p>
<p><code class="highlighter-rouge">brew install git</code></p>
<p>We’ll try to help everyone get set up. For those playing the home game reach out to me <a target="_blank" href="https://twitter.com/arthursucks">@arthursucks</a> or chat with us on the <a target="_blank" href="https://uncodedlb.slack.com/">Slack channel</a>. We’ll do our best to set you up.</p>
<p><strong>Never hesitate to ask for Help!</strong><br />
That’s <em>exactly</em> why this community is here.</p>
<h3 id="see-you-tonight-at">See you tonight at:</h3>
<p><a href="https://www.meetup.com/Uncoded/events/245151891/">Rebel Bite</a> in Downtown Long Beach.</p>Tonight we’ll be covering some basics of using Git. Git is a version control system for text and code. Probably the fastest way to dig into Git is by using the online Git Tutorial. It’s easy and only take 15 minutes.Rebel Bite Tonight2017-11-14T00:00:00+00:002017-11-14T00:00:00+00:00/2017/11/14/rebel-bite<p>We are going to be meeting at <a href="http://rebelbite.com/main/" target="_blank">Rebel Bite</a> tonight at 6pm.</p>
<blockquote>
<p>Inventive fusion takes on pizzas & sandwiches, plus craft beers, in eclectic knickknack-filled digs.</p>
</blockquote>
<p><a href="https://www.openstreetmap.org/node/5207434828" target="_blank">Open Street Maps</a>, <a href="https://www.google.com/maps/place/Rebel+Bite/@33.7694845,-118.1860805,17z" target="_blank">Google Maps</a>.</p>We are going to be meeting at Rebel Bite tonight at 6pm.Working with TNP: The Nonprofit Partnership2017-04-12T00:00:00+00:002017-04-12T00:00:00+00:00/2017/04/12/working-with-tnp<p>Starting on the 26th of April Hack Night is joining forces with <a href="https://tnpsocal.org/" target="_blank">The Nonprofit Partnership</a> for a monthly meetup. We’ll be helping out where ever we can with coming up with technical solutions to some of their more challenging projects.</p>
<p><img src="/img/TNP_web-logo1.png" alt="" style="float:left;" />Even though this meetup will be focused around TNP feel free to come even if your just coming for a regular hack night. Participation with the TNP project is completely voluntary.</p>
<p>If you have any questions feel free to reach out to <a href="https://twitter.com/youngidealist" target="_blank">@youngidealist</a> or <a href="https://twitter.com/arthursucks" target="_blank">@arthursucks</a> and of course you can reach The Nonprofit Partnership by <a href="https://tnpsocal.org/contact/" target="_blank">Email</a>.</p>Starting on the 26th of April Hack Night is joining forces with The Nonprofit Partnership for a monthly meetup. We’ll be helping out where ever we can with coming up with technical solutions to some of their more challenging projects.Eastside Beastside!2017-01-25T00:00:00+00:002017-01-25T00:00:00+00:00/2017/01/25/eastside-wing<p>Looks like we might be on the eastside wing in the conference room from now on. Our usual area on the west site is reserved for “Long Beach United”. Also if you get a chance come and fill out our <a href="/contact/">Contact</a> form and we’ll start sharing posts right to your spam folder!</p>Looks like we might be on the eastside wing in the conference room from now on. Our usual area on the west site is reserved for “Long Beach United”. Also if you get a chance come and fill out our Contact form and we’ll start sharing posts right to your spam folder!Hacknight 20172017-01-03T00:00:00+00:002017-01-03T00:00:00+00:00/2017/01/03/new-year<p><strong>Welcome to Hacknight 2017!</strong> Starting on the 11th we will be meeting on Wednesday instead of Tuesday. Steve and Arthur are still the hosts and we’ll still have pizza. Just a new night and a new year.<br />
<img src="/img/cheers.gif" alt="" /><br />
Click ‘Read more’ for extra pizza gifs.</p>
<p><img src="/img/pizza-weird01.gif" alt="" /></p>
<p><img src="/img/pizza-weird02.gif" alt="" /></p>
<p><img src="/img/pizza-weird03.gif" alt="" /></p>
<p>Aren’t you glad you clicked that?</p>Welcome to Hacknight 2017! Starting on the 11th we will be meeting on Wednesday instead of Tuesday. Steve and Arthur are still the hosts and we’ll still have pizza. Just a new night and a new year. Click ‘Read more’ for extra pizza gifs.Big Mouth Billy Alexa2016-11-05T00:00:00+00:002016-11-05T00:00:00+00:00/2016/11/05/big-mouth-billy-alexa<iframe class="aligncenter" src="https://www.facebook.com/plugins/video.php?href=https%3A%2F%2Fwww.facebook.com%2Fhdadd%2Fvideos%2Fvb.655185264%2F10157576067105265%2F%3Ftype%3D3&show_text=0&width=560" width="560" height="315" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowtransparency="true" allowfullscreen="true"></iframe>
<p><strong>Finally</strong> someone did something right with the Alexa API that’s worth doing. Artist <a href="https://www.facebook.com/hdadd">Brian Kane</a> brought back to life the Big Mouth Billy Bass with a Raspberry Pi.</p>
<blockquote>
<p>Do you, like many others, wake up each morning, gaze upon your Amazon Echo, and think, “Damn it, Echo. Instead of a shiny cylinder, why can’t you be a singing fish?”</p>
</blockquote>
<blockquote>
<p>Good news, friend. Your dreams have come true.</p>
</blockquote>
<p>Read more on <a href="https://techcrunch.com/2016/11/04/finally-at-long-last-someone-hacked-amazons-alexa-into-one-of-those-singing-fish/">Techcrunch</a>.</p>Robot Dance2016-10-25T00:00:00+00:002016-10-25T00:00:00+00:00/2016/10/25/robot-dance<iframe class="aligncenter" width="640" height="360" src="https://www.youtube-nocookie.com/embed/gwjrfEoMEfY?rel=0" frameborder="0" allowfullscreen=""></iframe>
<p>Awesome video posted by <a href="http://djburn.com/">Wade Johnson</a>.</p>National Cyber Security Awareness Month2016-10-06T00:00:00+00:002016-10-06T00:00:00+00:00/2016/10/06/national-cyber-security-awareness-month<p>The United States Computer Emergency Readiness Team or <a href="https://www.us-cert.gov">CERT</a> for short is is an organization within the Department of Homeland Security. This month they are declaring it National Cyber Security Awareness Month!</p>
<p>From the site:</p>
<blockquote>
<p>October is National Cyber Security Awareness Month, which is an annual campaign to raise awareness about cybersecurity. In partnership with DHS, the National Cyber Security Alliance (NCSA) has released the first in a series of tips focused on helping people protect their online activities and increasing cybersecurity awareness. This tip describes how users can protect their online accounts using strong authentication techniques, including the use of biometrics or a security key.</p>
</blockquote>
<p>You can read the <a href="https://www.us-cert.gov/ncas/current-activity/2016/10/05/National-Cyber-Security-Awareness-Month">post</a> with links to security tips and tools.</p>
<blockquote>
<p>Stop.Think.Connect.</p>
</blockquote>The United States Computer Emergency Readiness Team or CERT for short is is an organization within the Department of Homeland Security. This month they are declaring it National Cyber Security Awareness Month!