Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/halostatue/fish-ssh-agent
SSH agent initialization for Fish
https://github.com/halostatue/fish-ssh-agent
fish fish-plugin fish-shell fisher ssh-agent
Last synced: 2 months ago
JSON representation
SSH agent initialization for Fish
- Host: GitHub
- URL: https://github.com/halostatue/fish-ssh-agent
- Owner: halostatue
- License: mit
- Created: 2020-10-11T04:07:17.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-03T03:45:51.000Z (over 2 years ago)
- Last Synced: 2024-11-24T19:57:55.019Z (2 months ago)
- Topics: fish, fish-plugin, fish-shell, fisher, ssh-agent
- Language: Shell
- Homepage:
- Size: 7.81 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# halostatue/fish-ssh-agent
Automatically initialize and load SSH agent identities.
Based on code I used in my zsh configuration files. Originally based on code
from Joseph M. Reagle (originally identified below, found in numerous places
across the web). http://www.cygwin.com/ml/cygwin/2001-06/msg00537.htmlAgent forwarding support is pulled from Oh My Zsh and is based on ideas from
Florent Thoumie and Jonas Pfenniger.This version always assumes that there will be tmux agent forwarding, and
unlike the zsh version does not permit the specification of identities to add
to the agent; all identities with a `.pub` extension in `${HOME}/.ssh` will be
loaded at all times.The final call to add SSH identities to ssh-agent can be modified by setting
`$halostatue_fish_ssh_agent_flags`. If not specified, defaults to
a platform-specific value:- on macOS, it uses `-q -A -K`, which means that non-error output is
suppressed; keys will be unlocked with passphrases from the keychain;
if passphrases are required, will be stored in the keychain.
- on other platforms, it uses `-q`.[![Version]]
## Installation
Install with [Fisher] (recommended):
```fish
# Fisher v3.x
fisher add halostatue/fish-ssh-agent# Fisher v4.x: Dependencies must be specified explicitly.
fisher install halostatue/fish-ssh-agent
```Not using a package manager?
---
Copy `conf.d/*.fish` to your fish configuration directory preserving the
directory structure.### System Requirements
- [fish] 3.0+
## License
[MIT](LICENCE.md)
[fish shell]: https://fishshell.com 'friendly interactive shell'
[version]: https://img.shields.io/github/tag/halostatue/fish-ssh.svg?label=Version[![Version]]: https://github.com/halostatue/fish-ssh/releases
[Fisher]: https://github.com/jorgebucaran/fisher
[fish]: https://github.com/fish-shell/fish-shell