/fish_ssh_agent

Fish-function `fish_ssh_agent` to start `ssh-agent` and export its environment variables to all fish instances: currently running and newly created.

Primary LanguageShell

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 GitHub

Usage

fish_ssh_agent

Installation

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_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