Files
fish-ssh-agent/README.md
kyb c7c3fc9cf2 Update badge-github.json
Deleted badge-github.jsob
2019-05-23 19:17:55 +00:00

41 lines
1.1 KiB
Markdown

# fish_ssh_agent
Utility functions to start your ssh agent when using fish shell.
You will only need to run `ssh-add` and type your password once,
after the running ssh_agent should do the work for you.
![GitLab](https://img.shields.io/badge/dynamic/json.svg?logo=GitLab&style=for-the-badge&label=GitLab&url=https://gitlab.com/kyb/fish_ssh_agent/raw/master/.doc/badge-gitlab.json&query=$.message)
![GitHub](https://img.shields.io/badge/dynamic/json.svg?logo=GitHub&style=for-the-badge&label=GitHub&url=https://gitlab.com/kyb/fish_ssh_agent/raw/master/.doc/badge-github.json&query=$.message&color=9A9)
## Usage
```fish
fish_ssh_agent
```
## Installation
```fish
wget https://gitlab.com/kyb/fish_ssh_agent/raw/master/functions/fish_ssh_agent.fish -P ~/.config/fish/functions/
```
### Autostart
Append next line to `~/.config/fish/config.fish`
```fish
fish_ssh_agent
```
## 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`.
## Mirrors
https://gitlab.com/kyb/fish_ssh_agent
https://github.com/ivakyb/fish_ssh_agent