Skip to content

obolientsev/ssh-host

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

❯❯ ssh-host

License: MIT zsh Interactive demo

A zsh plugin for securely managing SSH hosts with an interactive fzf interface.

Features

  • Interactive Management: Browse and connect to SSH hosts with fzf-powered fuzzy search and live previews
  • Secure Key Creation: Generate ed25519 or RSA-4096 keys with automatic SSH agent integration
  • Non-Invasive: Separate SSH config file with automatic backups
  • Minimal Dependencies: Uses native SSH tools for maximum compatibility

Requirements

  • zsh >= 5.0
  • fzf - Fuzzy finder for interactive selection

Installation

Oh My Zsh

  1. Clone the repository:
git clone https://github.com/obolientsev/ssh-host ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/ssh-host
  1. Add to your plugins list in ~/.zshrc:
plugins=(ssh-host $plugins)
  1. Restart your shell:
source ~/.zshrc

Zinit / Antigen / Znap

Add to your ~/.zshrc:

zinit load "obolientsev/ssh-host" # or antigen bundle obolientsev/ssh-host # or znap source "obolientsev/ssh-host"

Quick Start

  1. Install fzf:
# macOS brew install fzf # Ubuntu/Debian sudo apt install fzf # Arch Linux sudo pacman -S fzf
  1. Launch the plugin:
ssh-host
  1. Follow the instructions to add your first host.

Keyboard Shortcuts

Controls:

  • ↑/↓ - Navigate hosts
  • Enter - Connect to selected host
  • Ctrl-N - Add new host
  • Esc - Quit

Note: This plugin manages SSH configurations in a separate file to avoid conflicts with your existing setup. All generated keys are stored in ~/.ssh/ssh_host/keys/.

About

❯❯ Lightweight interactive zsh plugin for managing SSH hosts and keys

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages