Quick setup

July 23, 2019

Enter this one-liner into a BASH prompt, and it will generate a random string of 16 characters, create the name with [](, update your current IP and make a cron entry to update it every 15 minutes. ... Read more…

qrlink function

July 15, 2019

If you're like me and want to access a URL on your phone because you're signed into different accounts on your phone vs your main computer, you might find this useful. ... Read more…

Add ssht to Linux

April 17, 2019

A quick one-liner to add a binary file that will launch tmux automatically upon an SSH connection.

Add GitHub SSH keys to authorized_user file

January 7, 2019

If you have an SSH key you regularly use elsewhere added to your GitHub account, this one-liner to get those public keys and add them to the `~/.ssh/authorized_keys` file of your current machine. ... Read more…

Disable IPv6 in Ubuntu 14.04 or 16.04

January 2, 2019

If you'd like to disable IPv6 for whatever reason on Ubuntu 14.04 or 16.04, give this one-liner a go. ... Read more…

Update a standalone ESXi server

November 27, 2018

Even though it's not the proper way to do it in production, sometimes it's just nice to be able to update ESXi from SSH, especially an individual instance at home or in a lab. ... Read more…

Reset authorized_keys permissions

July 19, 2018

Sometimes, you might find you are having odd issues using public keys on a Linux server. It will fix any permissions issues that you might have caused by editing the files incorrectly. ... Read more…

Generate SSH key

June 19, 2018

A quick one-liner to generate a secure SSH key in Bash.