Skip to content

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

Notifications You must be signed in to change notification settings

ivakyb/fish_ssh_agent

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%