mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-10 18:29:50 +00:00
Revert "ssh-agent: improvements (#6309)"
This reverts commit a206271460.
This commit is contained in:
@@ -19,17 +19,9 @@ To enable **agent forwarding support** add the following to your zshrc file:
|
||||
zstyle :omz:plugins:ssh-agent agent-forwarding on
|
||||
```
|
||||
|
||||
To **NOT load any identities on start** use the `lazy` style.
|
||||
This is particularly usefull when combined with the AddKeysToAgent
|
||||
(available from OpenSSH 7.2), since it allows to enter the password only
|
||||
on first use.
|
||||
----
|
||||
|
||||
```zsh
|
||||
zstyle :omz:plugins:ssh-agent lazy yes
|
||||
```
|
||||
|
||||
To **load multiple identities** use the `identities` style. This have no
|
||||
effect if `lazy` is enabled.
|
||||
To **load multiple identities** use the `identities` style, For example:
|
||||
|
||||
```zsh
|
||||
zstyle :omz:plugins:ssh-agent identities id_rsa id_rsa2 id_github
|
||||
|
||||
Reference in New Issue
Block a user