Что делает параметр командной строки & ldquo; -A & rdquo; в команде ssh делать?

Как говорится в названии, что делает -A? Если я запустил man ssh, это не объясняет эту функцию.

Дополнительно, что имя параметра для этого параметра для конфигурационного файла ssh? Где можно найти сопоставление между аргументами thoose cmd и именами опций configfile?

3
задан 7 November 2017 в 20:09

3 ответа

Из man ssh, который для меня перечисляет эту опцию как пятую:

-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.

См. man ssh для имен опций файла конфигурации, не врываясь в я думаю, вы хотите ForwardAgent здесь.

6
ответ дан 22 May 2018 в 16:26
  • 1
    спасибо, стыдно за меня, не видел эту часть в файле man :( – mr.void 7 November 2017 в 20:18
  • 2
    @ mr.void При просмотре справочной страницы вы можете нажать / для поиска, ввести что-либо (например, -A) и нажать Enter. Каждое видимое появление типизированных символов будет выделено, и зритель перейдет к первому событию. Нажмите n, чтобы перейти к следующему или N, чтобы перейти к предыдущему. Шаблон поиска на самом деле является регулярным выражением, но для простых поисков достаточно набирать то, что вы ищете. – Michael Kjörling 7 November 2017 в 22:15

Из man ssh, который для меня перечисляет эту опцию как пятую:

-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.

См. man ssh для имен опций файла конфигурации, не врываясь в я думаю, вы хотите ForwardAgent здесь.

6
ответ дан 18 July 2018 в 03:42

Из man ssh, который для меня перечисляет эту опцию как пятую:

-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.

См. man ssh для имен опций файла конфигурации, не врываясь в я думаю, вы хотите ForwardAgent здесь.

6
ответ дан 24 July 2018 в 17:54

Другие вопросы по тегам:

Похожие вопросы: