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:
Combine with “foxyproxy” to send all non-corporate-Internet" connections over your own ssh tunnel to keep personal web traffic private or to access services on your home network without needing a vpn.
My favorite (aside from tunneling) has been using ssh as a SOCKS proxy.
https://ma.ttias.be/socks-proxy-linux-ssh-bypass-content-filters/
Combine with “foxyproxy” to send all non-corporate-Internet" connections over your own ssh tunnel to keep personal web traffic private or to access services on your home network without needing a vpn.