ohmyzsh/plugins/ssh
2024-09-25 01:52:47 +02:00
..
README.md docs: improve several plugin READMEs and add one for ssh plugin 2024-08-09 09:44:46 +02:00
ssh.plugin.zsh fix: Added support for include in config file to ssh plugin 2024-09-25 01:52:47 +02:00

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.