October 16, 2018

Multiple SSH host aliases

When I'm dealing with SSH connections using key pairs, usually I put this in my ~/.ssh/config:

Host <easy-to-remember-host>
Hostname <ip-address>
 User <user>
 IdentityFile ~/.ssh/id_rsa_host_key


Continue reading →

June 12, 2018

declutter - read online content without clutter

Last two days I've been hacking on a small Emacs mode called declutter and this will be the first version announcement.

What is declutter and why?

I often use Emacs to read long, online articles, which gives me plenty of options - I can save text for offline reading, I can read content with my favorite color and terminal setup, I have my shortcuts for fast navigation and so on.

Continue reading →

April 3, 2018

Emacs, git, gpg and 'failed to sign the data'

I'm not sure is this (un)common case, but when I used git with signing commits from Emacs with VC or Magit, I was getting this:

error: gpg failed to sign the data
fatal: failed to write commit object

Curiously, many had similar problem, but not from Emacs which is my case. On other hand, git signing from terminal worked without any problems for me.

Continue reading →