Pre-establishing SSH master connections for Ansible, or using OnlyKey with Ansible without losing your mind

Posted on 2026-04-07 in Software • Tagged with ansible , automation , howto , linux , security

I use an OnlyKey as a hardware security device for a variety of purposes:

  • Common passwords are one keypress away, they get typed automatically.
  • As 2FA in my password manager (KeepassXC), by applying HMAC on the password.
  • SSH connections.
  • GPG encryption and signing.

OnlyKey

SSH connections are handled through the …


Continue reading

Automating Python code quality

Posted on 2023-06-23 in Software • Tagged with programming , python , automation , howto , free-software

In this article I explain what I mean by code quality and how it benefits developers.

In the first half I discuss general concepts and workflows that apply to most software projects. Even if you are not writing Python code you might learn something from it.

In the second half …


Continue reading