diff options
author | mail_redacted_for_web | 2022-03-21 11:21:48 +0100 |
---|---|---|
committer | mail_redacted_for_web | 2022-03-21 11:21:48 +0100 |
commit | c86f4477e70d890660aac68fba6721dec725962f (patch) | |
tree | b56a283268be9ba1f21d4da9c9745deb844df3a0 /.bash/vars.bash | |
parent | 1475a69efda4e05b559d7868020f3c0d0f599cb4 (diff) | |
download | dotfiles-c86f4477e70d890660aac68fba6721dec725962f.tar.bz2 |
Execute ssh agent only on machines we want to be the source
Also, see ssh_config(5) and ForwardAgent
Diffstat (limited to '.bash/vars.bash')
-rw-r--r-- | .bash/vars.bash | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.bash/vars.bash b/.bash/vars.bash index ac56a6d..dcb7fb2 100644 --- a/.bash/vars.bash +++ b/.bash/vars.bash @@ -11,6 +11,10 @@ export SSHHOME="${HOME}/.ssh" SSHKEYS=( "${SSHHOME}/id_ed25519" "${SSHHOME}/id_rsa" ) # 2. SSH environment file export SSHENVFILE="${HOME}/.ssh/sshenv" +# 3. Hosts on which ssh-agent should run, FQDN. Array. +SSHAGH=( "riesling.example.com" "schorle.example.com" ) +SSHAGH+=( "woschd.example.com" ) +export SSHAGH # ----- SHELL ----- # for pa in "/usr/local/bin" "${HOME}/bin";do |