Skip to main content

Posts

Showing posts with the label howto

Remote Remote Work: Make coding on EC2 Instances Easier

In an effort to post a bit more here's the first entry in my No Frills series. This posts will be short, and mostly reference outside sources. So you need to access resources in a remote network like AWS or Azure, but don't want to use ssh + vim/emacs/etc or don't want to constantly be pushing commits? This solution is for you! You'll need a Unix-like environment such as Ubuntu on your server side, a terminal locally with SSH, and ideally VS Code.   First install tmux, if you're not familiar check out a tutorial like this one . This cheat sheet is very handy too! In your ~/.bashrc (or appropriate shell config file) add the following so you'll always have access to tmux easily: # Open Tmux Session immediately on SSH and exit SSH Session when exiting tmux if [[ -n "$PS1" ]] && [[ -z "$TMUX" ]] && [[ -n "$SSH_CONNECTION" ]]; then tmux attach-session -t ssh_tmux || tmux new-session -s ssh_tmux; exit; fi     Now ...

Words on Password Security

Image by: geralt License: CC0 Update October 29, 2019 - I tweeted a link to this and realized it was time for an update. I have switched over to iOS from Android and continue to use 1Password, it works even better on iOS. Fixed tenses/removed irrelevant/old paragraphs, and added notes about lack of sponsorship. Update January 18, 2019 - 1Password uses a monthly pricing model primarily now. I've started using 1Password instead of Keepass due to family sharing, their Watchtower service (powered by haveibeenpwned.com), and the amazing ease of use on all platforms. Update March 18, 2017 - LastPass has changed their business model and the mobile app does not require a subscription. I have also become aware of the Diceware passphrase generation technique. This post has been updated to reflect that. Preamble You can skip this section if you just want to get to the advice. NOTE: I realized I should point out to anyone reading this that I do not run ads on my site, nor a...

What is Heartbleed? A Simple Explanation.

The Heartbleed bug is the trending topic online this week and I hope to consolidate some resources and explain what the issue is. The end of this post contains many links that will also help explain the situation. What is it?  It is a security vulnerability that has existed in the OpenSSL software library for two years. Heartbleed allows an attacker to read data that would otherwise be considered protected. This includes things like passwords, emails, and private keys. Unfortunately this act of reading data is undetectable, so we must assume that all passwords have been stolen and an attacker has copied all the private keys. For those unfamiliar with public-key cryptography, a private key is what identifies someone online, allowing them to read encrypted messages sent to them. This can also allows someone to pretend they are Facebook and perform other such attacks.  OpenSSL is used by the most popular web server on the internet, Apache  (approximately 66%...

How to install RHQ on CentOS

This guide was originally written for a work project, but I was given permission to blog about it. My Virtual Machine Setup You can of course use whatever you would like but this is my setup. OS: CentOS 6.3 64-bit Desktop Virtual Machine Software : VMWare Player Virtual Machine Specs : about 2-3GB of memory and 2 Processors Install the OS with VMWare Player, its handy Easy Install will do most of that work for you, so you can walk away until it's finished. Linux/CentOS Usage Notes For those unfamiliar with Linux here are some quick notes If you are not comfortable with using vi, simply replace any instance of ‘vi’ with ‘nano’. Nano is a much more user-friendly command line text editor. Nano overview of nano     Keys work as you would expect, you can type instantly and arrows move the cursor around. Move the cursor down past the bottom to scroll.       Press Ctrl-O (shown as ^O) to save (shown as WriteOut)  ...