[index] [text page] [<<start] [<prev] [next>] [last>>]
Page 20: find-ssh-agent

Page 20

  
  find-ssh-agent
  Simple shell script that can
  Find an existing agent.
  Stores previous agent info in ~/.ssh/ directory.
  Checks for unregistered agents in /tmp/ directory.
  Can start an agent if one doesn't exist.
  Returns true/false if an agent can be found.
    
     options:
     -s    Start a new agent if none found
     -e    Output environment variables
     -d    Extra debugging info
  Typically used in .profile, .bashrc, etc, ala
     eval `find-ssh-agent -s -e`

Copyright 2004, Bri Hatch of Onsight, Inc.

Presented at LFNW - LinuxFest Northwest, Bellingham, Washington, Apr 2004

Presentation created using vim and MagicPoint.