Tag Archives: author-qanx

Setting up an SSH tunnel with .ssh/config

Recently we had a client whose Openstack configuration required us to use a SOCKSv5 proxy to access the Horizon Dashboard. Rather than create the tunnel by running ssh -D 8080 -f -C -N ${remote-host}, it made more sense to setup the port forwarding in ~/.ssh/config and create a couple aliases that allowed us to quickly

Setting up Keybase and GPG Tools (Mac)

What are GPG Tools? GPG, or GNU Privacy Guard, is a replacement for Symantec’s PGP cryptographic software suite and allows users to encrypt sensitive information. Specifically, GPG Tools includes a utility that integrates with Apple Mail, a GPG Keychain to manage OpenPGP keys, and a command line tool (which I will be using below). What

Building a Linux Static Binary with sipcalc, CentOS 7, and Docker

First: What is sipcalc? sipcalc is a handy tool that makes networking a bit less painful, e.g.: $ sipcalc -[ipv4 :] – 0 [CIDR] Host address – Host address (decimal) – 3232235520 Host address (hex) – C0A80000 Network address – Network mask – Network mask (bits) – 24 Network mask

My Shell, My Bell: While/Xargs by Example

Earlier today I logged into a jumpbox session and was greeted with some lovely error messages: $ channel 12: open failed: administratively prohibited: open failed channel 13: open failed: administratively prohibited: open failed channel 19: open failed: administratively prohibited: open failed channel 20: open failed: administratively prohibited: open failed channel 21: open failed: administratively prohibited:

To Bundle or not To Bundle

Short Answer: Not To Bundle I recently tore down and recreated my local BOSH lite installation. Re-cloned the repos – everything. Imagine my surprise when I ran into this little gem (har har see what I did thar): $ ./bin/provision_cf … /scripts/generate-bosh-lite-dev-manifest /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require’: cannot load such file — bundler/setup (LoadError) from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require’ Can

Pre-Flight Checks: Sprucing up Concourse with Test Concourse

As part of a project, a client wants to have a self-deploying Concourse. Basically that means that once everything is set up, the alpha Concourse will deploy the beta Concourse and, if that completes successfully, the beta Concourse will then update/deploy the alpha Concourse. Because automation is shiny. Current Goal Ensure that the the beta

Running a Mac VM on a Mac using VirtualBox

Recently when working with a client we encountered a situation where it would be beneficial run a Mac VM on our Mac laptops, so I decided to investigate. I was in luck! It turns out this is actually really easy to do. To get started, download Yosemite from the App Store. Fair warning: the download

Day in the Life: Troubleshooting with Concourse

This is another interesting day in the life of modern platforms (BOSH and Cloud Foundry) and automation (Concourse). The Problem Recently we ran into an issue with Concourse. After building a seemingly successful pipeline and using it to deploy the microbosh to AWS, we ran into a snag where the deploys always failed for the

Creating and Maintaining a Positive User Experience with Cloud Foundry and BOSH

I was reading an article today called Bad UX and User Self Blame that discussed a few cultural things that we have all experienced in the tech world: There are apparently two camps of people: the "I’m not a technical person" and the "tech user" camps "Tech users" not always being kind to "not tech