Posts

Showing posts from April, 2019

Side Tabs in Firefox 66

I've become so used to using side tabs (TreeStyleTabs) in Firefox, that it's somewhat painful to use any other browser in more than a passing manner. My work laptop was just replaced, and I had to back into this configuration again, so I figured this is a good time to document it. Drawing from several sources (linked at the bottom). In a terminal window, create your chrome Firefox profile directory: mkdir -pv ~/Library/Application\ Support/Firefox/Profiles/*.default/chrome and your personal chrome file: touch ~/Library/Application\ Support/Firefox/Profiles/*.default/chrome/userChrome.css Install the TreeStyleTab plugin ( https://addons.mozilla.org/en-US/firefox/addon/tree-style-tab/ ) In Firefox, Press Cmd + Opt + I Click on the cog icon (Settings) in the upper right (may be inside the hamburger menu) In Advanced Settings, check "Enable browser chrome and add-on debugging toolboxes" and "Enable remote debugging" Restart Firefox Press Cmd + Opt + Shift +

SSH Private Keys - RSA vs. OpenSSH

It would seem that ssh-keygen on OS X Mojave generates OpenSSH Private Keys instead of the traditional RSA Private Keys. While on the surface this is not a problem at all, it recently created a problem for us in combination with our use of the net-ssh Ruby gem, specifically that only RSA Private Keys are supported by this particular version of the gem, unless other dependencies are explicitly installed. So there would appear to be two solutions to this problem. First, we could update the net-ssh gem or discover/install whatever other dependencies are required to support OpenSSH Private Keys. Option two is to convert the existing private key from OpenSSH to RSA. The man page for ssh-keygen is helpful, but not nearly clear enough for this use case, so I'm documenting it here because I'm sure it'll come back to bite me again in the future. Assuming ~/.ssh/id_rsa starts with: -----BEGIN OPENSSH PRIVATE KEY----- Run ssh-keygen -p -m PEM -f ~/.ssh/id_rsa and you will