SSH.COM is one of the most trusted brands in cyber security. We help enterprises and agencies solve the security challenges of digital transformation with innovative access management solutions.
By default, when you have an agent running, the agent connection will be forwarded to the server side. This is for convenience, so that a system administrator (or a power user) can easily connect from machine to machine.
If the server's administrator is malicious, he can use your agent to sign requests. This will not allow access to the private key, but will cause a security risk, because the malicious admin can then connect with your credentials anywhere where they are accepted.
If you do not trust the server, disable agent forwarding in the
ssh-broker-config.xml file (either under
default-settings or per each connection
<forwards> <forward type="agent" state="off" /> ... </forwards>
On the command line, the
-a option has the same effect:
$ sshg3 -a
See forwards for more information.