prezto icon indicating copy to clipboard operation
prezto copied to clipboard

suboptimal ssh-agent configuration

Open Shea690901 opened this issue 2 years ago • 0 comments

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

  1. generate more then one key, stored in separate files
  2. use above configuration using globbing
  3. terminate current session (ssh-agent has to die)
  4. start new session
  5. 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

Shea690901 avatar Apr 08 '22 18:04 Shea690901