sorin-ionescu / prezto

The configuration framework for Zsh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

suboptimal ssh-agent configuration

Shea690901 opened this issue · 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