Skip to content

ssh-agent automatic startup and identities loading for fish (fisherman compatible)

License

Notifications You must be signed in to change notification settings

catphat/ssh-agent.fish

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

ssh-agent_fish

ssh-agent automatic startup for fish

Installation

Using fisherman (recommended)

  1. Install fisherman https://github.com/fisherman/fisherman

  2. Run:

    fisher install https://github.com/virtualxdriver/ssh-agent.fish.git

Classic

Copy-paste the contents of the conf.d/ssh-agent.fish into your .config/fish/config.fish file.

Usage

If a previous instance cannot be found, ssh-agent will be launched on shell startup automatically.

Multiple identities

By default, ssh-agent_fish only loads the default identity.

You can load multiple identities with the __ssh_agent__identities variable, for example:

set -U __ssh_agent__identities id_rsa id_rsa2

Lifetime

By default, identities stay in memory forever.

You can adjust the maximum lifetime of the identities with the __ssh_agent__lifetime variable, for example:

set -U __ssh_agent__lifetime 4h

Thanks

About

ssh-agent automatic startup and identities loading for fish (fisherman compatible)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages