Velvet Star Monitor

Standout celebrity highlights with iconic style.

general

What does the command-line option "-A" in the ssh command do?

Writer Sophia Terry

As the title mentions, what does -A do? If i run man ssh there is no part which explains this option.

Additional, whats the optionname for this parameter for a ssh config file? Where can I find a mapping between thoose cmd arguments and the configfile option names?

1

1 Answer

From man ssh, which for me lists this option as the fifth:

-A Enables forwarding of the authentication agent connection. This can also be specified on a per-host basis in a configuration file. Agent forwarding should be enabled with caution. Users with the ability to bypass file permissions on the remote host (for the agent's UNIX-domain socket) can access the local agent through the forwarded connection. An attacker cannot obtain key material from the agent, however they can perform operations on the keys that enable them to authenticate using the identities loaded into the agent.

See man ssh_config for the config file option names, without having dug into it I think you want ForwardAgent here.

2

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy