@liuidetmks 这是 GPT 的回答 Yes — common programs without sudo can read SSH private keys from ssh-agent, but not the private keys themselves — instead, they get access to the ability to sign on your behalf via the agent. ❌ What they cannot do: • Extract or dump the actual private key. • Access the agent from another user (unless you explicitly share the agent socket via file permissions — not recommended).