diff options
author | Austin Kiekintveld <akiekintveld@icloud.com> | 2022-10-22 19:51:22 -0500 |
---|---|---|
committer | Austin Kiekintveld <akiekintveld@icloud.com> | 2022-10-22 19:51:22 -0500 |
commit | 8e7804273cec1bb3fa05ce09a37f0732b71a72ec (patch) | |
tree | 04068deaffd728a5f10c9a19fde7ecd54eec3aff /.editorconfig | |
parent | b3d2a05c59266688aa904d5fb326394cbb7e9e90 (diff) |
Defer to SSH config files for ForwardAgent option
Currently, Nix passes `-a` when it runs commands on a remote machine via
SSH, which disables agent forwarding. This causes issues when the
`ForwardAgent` option is set in SSH config files, as the command line
operation always overrides those.
In particular, this causes issues if the command being run is `sudo`
and the remote machine is configured with the equivalent of NixOS's
`security.pam.enableSSHAgentAuth` option. Not allowing SSH agent
forwarding can cause authentication to fail unexpectedly.
This can currently be worked around by setting `NIX_SSHOPTS="-A"`, but
we should defer to the options in the SSH config files to be least
surprising for users.
Diffstat (limited to '.editorconfig')
0 files changed, 0 insertions, 0 deletions