If you use a Yubikey agent, 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 yubikesy-agent. If you connect and disconnect from some machines “a lot” you might benefit from keeping You can prevent that by having your client ping the server every X time.
Table of contents
Forward Yubikey AgentReuse connectionsSSH straight into tmuxAlias commonly used hostsDo not add testing stuff to ~/.ssh/known_hostsMake connections last longerCanonicalize hostnamesYubikey and GitHub, without touching it every timeThat’s it!1 Comment
Sort: