What is ssh-agent and agent forwarding?
IntermediateConceptNetworking, SSH & Scheduling
Answer
ssh-agent holds decrypted private keys in memory so you type the passphrase once (ssh-add). Agent forwarding (ssh -A) lets remote hosts use your local agent, for example to git clone from a bastion. Risk: root on that remote host can use your agent socket to authenticate as you while you are connected. Prefer ProxyJump over forwarding.
More on Networking, SSH & Scheduling
Which `ip` commands replace ifconfig, route and arp?BeginnerWhat does `ss` show, and which flags do you use?BeginnerExplain the TCP connection states you see in ss.AdvancedWhat happens, step by step, when you run `curl https://example.com`?AdvancedWhich curl flags are most useful for debugging?BeginnerHow do you use `dig` for DNS troubleshooting?Beginner