Marc Cornellà efafef8495 docs: improve several plugin READMEs and add one for `ssh` plugin před 3 měsíci
..
README.md efafef8495 docs: improve several plugin READMEs and add one for `ssh` plugin před 3 měsíci
ssh.plugin.zsh 50fd98e5a6 fix(ssh): allow multiple definitions per host (#12227) před 8 měsíci

README.md

ssh plugin

This plugin provides host completion based off of your ~/.ssh/config file, and adds some utility functions to work with SSH keys.

To use it, add ssh to the plugins array in your zshrc file:

plugins=(... ssh)

Functions

  • ssh_rmhkey: remove host key from known hosts based on a host section name from .ssh/config.
  • ssh_load_key: load SSH key into agent.
  • ssh_unload_key: remove SSH key from agent.