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

enno.void

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?

dessert

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.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Related Related

HotTag

Archive