ssh-menu initial release

This commit is contained in:
2022-11-21 17:38:39 +01:00
commit bb9bd2f72f
6 changed files with 63 additions and 0 deletions

13
README.md Normal file
View File

@@ -0,0 +1,13 @@
ssh-menu
========
SSH menu using rofi and forging cache file. By default, it will search for host files named after target hosts in `$INFRA/host/` directory.
You can:
- copy `rofi-forge-cache` as `rofi-forge-cache-own` and adapt to your needs
- copy `rofi-config` as `rofi-config-own` and adapt to your needs
- install with `./install` (will only act on `~/.ssh-menu/` directory) and run with `./ssh-menu`.
Tips:
- you can add ssh options by setting SSH_OPTIONS variable (for example `SSH_OPTIONS=-A ./ssh-menu` will forward SSH agent)
- SSH agent is not loaded by default, I use `keychain` variables set in `~/.keychain/$(hostname)-sh`, adapt to your agent handling method