prezto
prezto copied to clipboard
suboptimal ssh-agent configuration
Description
While it's nice to add different keys via zstyle ':prezto:module:ssh:load' identities 'id_rsa' 'id_rsa2' 'id_github'
, normally each secret key key
is accompanied by a public key key.pub
. As such the easiest way would be to use zstyle ':prezto:module:ssh:load' identities '*.pub(:r)'
Expected behavior
File globbing to happen and all of my key files added.
Actual behavior
No key get's added.
Steps to Reproduce
- generate more then one key, stored in separate files
- use above configuration using globbing
- terminate current session (ssh-agent has to die)
- start new session
- use
ssh-add -l
to check that not even password-less keys got added
Versions
- Prezto commit: current
- ZSH version: 5.8.1
- OS information: independent on OS