Hacking Linux Exposed

About
Authors
Contents
Reviews
Foreword
Purchase

Articles
Books
Sourcecode
Tools
Errata

Home

 


find-ssh-agent - ssh-agent finder/launcher

Usage: find-ssh-agent [options]
-e         Print environment variables to stdout
-s         Start agent if one not found
-d         Print debugging info
-h         This help text

Without any arguments, simple returns true/false if it could find (or start) an agent.

Typically used as follows from ~/.profile or ~/.xinitrc

	eval `find-ssh-agent -s`

See the files in the source directory.