1. 14 Jun, 2021 1 commit
  2. 12 Jun, 2021 1 commit
    • Nuno Goncalves's avatar
      ssh-agent: improvements (#6309) · a2062714
      Nuno Goncalves authored
      
      
      * ssh-agent: lock this script with a mkdir style mutex
      
      This script is a kind of singleton pattern and is not reentrant.
      If several shells are oppened in a fast sequence, then several
      independent ssh-agents would be created, which is not acceptable.
      A mutex is required.
      Signed-off-by: default avatarNuno Goncalves <nunojpg@gmail.com>
      
      * ssh-agent: only start agent if .ssh dir exists
      
      To use the same profile system-wide, it might happen
      that the .ssh directory does not exist
      (typically $HOME/.ssh/). This would trigger a error.
      
      Creating the directory would be a option, but it
      usually will not make sense to do so because it means
      the user doesn't have ssh keys or config.
      Signed-off-by: default avatarNuno Goncalves <nunojpg@gmail.com>
      
      * ssh-agent: adds lazy option to disable key loading on start
      
      Option is documented on updated README.md
      Signed-off-by: default avatarNuno Goncalves <nunojpg@gmail.com>
      
      * ssh-agent: simplify agent-forwarding checking
      Signed-off-by: default avatarNuno Goncalves <nunojpg@gmail.com>
      Co-authored-by: default avatarRobby Russell <robby@planetargon.com>
      a2062714
  3. 25 Mar, 2021 1 commit
  4. 15 Mar, 2021 1 commit
  5. 08 Sep, 2019 1 commit
  6. 07 May, 2019 1 commit
  7. 21 Jan, 2019 1 commit
    • Marc Cornellà's avatar
      ssh-agent: check for loaded id filenames first (#7521) · c4948696
      Marc Cornellà authored
      This change makes the plugin check if an identity is loaded by looking
      first at the key filename reported by `ssh-add -l`. This fixes the use
      case where ssh-keygen is not able to output the fingerprint of a key,
      such as the one reported on #7516.
      
      Now, for an identity to be passed onto ssh-add, it has to fail the
      match for a loaded identity, both filename and signature.
      c4948696
  8. 19 Jan, 2019 1 commit
  9. 14 Jan, 2019 2 commits
  10. 09 Jan, 2019 1 commit
    • Marc Cornellà's avatar
      ssh-agent: autoload identities not already loaded (#7174) · fabee559
      Marc Cornellà authored
      With this PR the ssh-agent plugin checks the `ssh-add -l` output for the
      identities added, and adds all those specified by the user that haven't been
      added yet.
      
      We also decouple the logic of starting ssh-agent from the logic of adding
      identities, meaning that even if ssh-agent has been started by some other means
      (like launchd) we can still ssh-add the user's identities.
      
      Fixes #3019
      Fixes #6979
      fabee559
  11. 07 Aug, 2018 1 commit
    • Janosch Schwalm's avatar
      use https everywhere (#6574) · 19b925e7
      Janosch Schwalm authored
      * use https everywhere
      
      * use https links on the files that are left
      
      Also, removed some broken links and updated redirections.
      19b925e7
  12. 01 Jul, 2018 1 commit
    • Michael Stucki's avatar
      Use existing ssh-agent when invoking a sudo shell (#3891) · 30227017
      Michael Stucki authored
      When invoking a shell as root using ```sudo -s```, the ssh-agent plugin
      starts a new agent although it already exists.
      
      The problem boils down to a check if ssh-agent is running using
      ```ps x```. If that is extended to ```ps ax``` for root, then the
      existing ssh-agent will still work.
      30227017
  13. 28 May, 2018 1 commit
  14. 17 Sep, 2016 1 commit
  15. 05 Sep, 2016 1 commit
  16. 03 Sep, 2016 6 commits
  17. 20 Aug, 2016 1 commit
  18. 24 May, 2014 1 commit
  19. 13 Mar, 2014 1 commit
    • Christian Höltje's avatar
      ssh-agent: prevent environment file from flapping · cfe468f6
      Christian Höltje authored
      On an OS X laptop, the variable `$HOST` changes a lot depending
      on what wifi network you're connected to.  This causes a lot
      of `~/.ssh/environment-$HOST` files to be created and
      causes multiple ssh-agents to created.
      
      Instead, use `scutil --get ComputerName` to get something
      more stable.
      cfe468f6
  20. 04 Nov, 2013 1 commit
  21. 16 Jul, 2013 1 commit
  22. 16 Mar, 2013 1 commit
    • Marcel Wolf's avatar
      add ssh-agent option to set default lifetime of identities · 2a1c9ff3
      Marcel Wolf authored
      By default, ssh-agent stores identities forever. It has an option to
      set a maximum lifetime for identites (useful to expire passphrase protected
      keys). Allow this option to be set using:
      
      zstyle :omz:plugins:ssh-agent lifetime <time>
      2a1c9ff3
  23. 30 Dec, 2012 1 commit
  24. 05 Jun, 2011 2 commits
  25. 01 Mar, 2011 1 commit
  26. 01 Oct, 2010 1 commit