Skip to content

Commit

Permalink
[Fix sorin-ionescu#117] Add documentation for ssh-agent
Browse files Browse the repository at this point in the history
  • Loading branch information
RIT80 authored and RIT80 committed Jun 12, 2012
1 parent 5235188 commit 480a381
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 9 deletions.
36 changes: 36 additions & 0 deletions modules/ssh-agent/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
SSH-Agent
=========

Provides for an easier use of [ssh-agent][1].

Settings
--------

### Agent Forwarding

To enable ssh-agent forwarding, add the following line to *zshrc*:

zstyle ':omz:module:ssh-agent' forwarding 'yes'

### Identities

To load multiple identities, add the following line to *zshrc*:

zstyle ':omz:module:ssh-agent' identities 'id_rsa' 'id_rsa2' 'id_github'

Authors
-------

*The authors of this module should be contacted via the [issue tracker][2].*

- [Robby Russell](https://github.com/robbyrussell)
- [Theodore Robert Campbell Jr](https://github.com/trcjr)
- [Joseph M. Reagle Jr.](https://github.com/reagle)
- [Florent Thoumie](https://github.com/flz)
- [Jonas Pfenniger](https://github.com/zimbatm)
- [Gareth Owen](https://github.com/gwjo)
- [Sorin Ionescu](https://github.com/sorin-ionescu)

[1]: http://www.openbsd.org/cgi-bin/man.cgi?query=ssh-agent&sektion=1
[2]: https://github.com/sorin-ionescu/oh-my-zsh/issues

9 changes: 0 additions & 9 deletions modules/ssh-agent/init.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,6 @@
# gwjo <[email protected]>
# Sorin Ionescu <[email protected]>
#
# Usage:
# To enable agent forwarding, add the following to your .zshrc:
#
# zstyle ':omz:module:ssh-agent' forwarding 'yes'
#
# To load multiple identities, add the following to your .zshrc:
#
# zstyle ':omz:module:ssh-agent' identities 'id_rsa' 'id_rsa2' 'id_github'
#

if (( ! $+commands[ssh-agent] )); then
return 1
Expand Down

0 comments on commit 480a381

Please sign in to comment.