Files
ssh-menu/README.md

593 B

ssh-menu

SSH menu using rofi and forging cache file.

You can:

  • create generate-hosts script to forge rofi SSH cache (see generate-hosts-sample)
  • copy rofi-config-sample as rofi-config 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