mirror of
https://github.com/danhper/fish-ssh-agent.git
synced 2025-12-15 18:21:11 +00:00
doc: README: AddKeysToAgent yes
This commit is contained in:
@@ -16,4 +16,11 @@ fish_ssh_agent
|
|||||||
|
|
||||||
```fish
|
```fish
|
||||||
wget https://gitlab.com/kyb/fish_ssh_agent/raw/kyb/functions/fish_ssh_agent.fish -P ~/.config/fish/functions/
|
wget https://gitlab.com/kyb/fish_ssh_agent/raw/kyb/functions/fish_ssh_agent.fish -P ~/.config/fish/functions/
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Useful note
|
||||||
|
Add this line to `~/.ssh/config`
|
||||||
|
```
|
||||||
|
AddKeysToAgent yes
|
||||||
|
```
|
||||||
|
With option enabled keys used by ssh will be automatically added to ssh-agent. No need to call `ssh-add`.
|
||||||
|
|||||||
Reference in New Issue
Block a user