Since I joined Charm, I’ve been working
and learning more about SSH, and I thought I would share a few quick tips and
tricks with you.
Forward Yubikey Agent
If you use a Yubikey (you should), you can use it in your remotes by having the
key in a SSH agent and forwarding it.
To manage the agent, I strongly recommend
yubikey-agent.
You can then forward it in your ~/.ssh/config like the following:
Nice tips! Personally will use SSH aliases and canonicalised hostnames.
Other topics covered in post:
~/.ssh/known_hosts