ssh
Useful ~/.ssh/config patterns for IaC-provisioned hosts - 2026-09-17
Plain default SSH behavior assumes a small, stable set of hosts you connect to by hand. IaC (Terraform/OpenTofu, Ansible) breaks that assumption constantly: hosts get created and destroyed, the same private IP gets reused by a completely different VM a week later, and half the…
Reuse one ssh-agent across shells with keychain - 2026-10-28
ssh-agent is a background process that holds your decrypted private SSH keys in memory, so you type a key's passphrase once (with ssh-add) instead of on every ssh, git push or Ansible run. Programs find the agent through two environment variables: SSH_AUTH_SOCK (the path of the…