Go to file
Sergio de Carvalho 25230a241f In an SSH session check forwarded agent first
When in an SSH session, try to connect to a forwarded agent first. If
that fails, only then check if an SSH agent is already running on the
machine.

This fixes a situation where a .ssh/environment file left behind from
a dead agent is checked first, ignoring the forwarded agent and
starting a new agent on the machine.
2022-09-27 21:46:49 +01:00
conf.d Rename init.fish to conf.d/fish-ssh-agent.fish 2020-11-11 12:39:40 +09:00
functions In an SSH session check forwarded agent first 2022-09-27 21:46:49 +01:00
README.md Fix installation instructions 2020-11-11 12:41:31 +09:00

README.md

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.

Installation

Using fundle

Add

fundle plugin 'danhper/fish-ssh-agent'

to your config.fish, reload your shell and run fundle install.

Using Fisher

fisher install danhper/fish-ssh-agent

Manually

Copy functions and conf.d to your $__fish_config_dir directory. That's all.