Skip to content

SSH

As I’m almost exclusively using gpg-agent for SSH (except some cases where I use FIDO2 and resident keys), as a substitute for ssh-agent, I have to set it up, so other applications can connect to it.

For that we mainly have to unset SSH_AGENT_PID and set SSH_AUTH_SOCK. This is best done in our appropriate init file

Nothing to do, since it’s already included in my dotfile’s ~/.bash_profile.

Dotfiles

Now that SSH is working just fine, we can switch the remote of the dotfiles repo over to use SSH.

Terminal window
chezmoi git remote set-url origin git@github.com:DustVoice/dotfiles.git

A simple

Terminal window
chezmoi update

should now succeed without any issues.