mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-05 01:46:46 +01:00
Revert "ssh-agent: improvements (#6309)"
This reverts commit a206271460.
This commit is contained in:
parent
77087aaa8d
commit
3e7998aec3
2 changed files with 10 additions and 31 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue