sshm

command module
v0.0.0-...-5701528 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2026 License: MIT Imports: 17 Imported by: 0

README

sshm

A terminal UI for managing SSH connections stored in ~/.ssh/config.

Go

Features

  • Browse connections organised into collapsible groups
  • Add, edit, and delete connections with full SSH field support
  • Launch SSH sessions directly from the TUI — the app hands the terminal over cleanly
  • Reads and writes ~/.ssh/config directly — no separate database
  • Real-time search that filters as you type
  • Cross-platform: Linux, macOS, and Windows

Installation

go install github.com/SChimera/sshm@latest

Or build from source:

git clone https://github.com/SChimera/sshm
cd sshm
go build -o sshm .

Usage

sshm

Keybindings

Key Action
/ Navigate
Enter Connect to host / collapse group
Tab Switch between panels
e Edit selected connection
n New connection
g New group
d Delete selected (with confirmation)
/ Search
Esc Cancel / close
q Quit

Config format

sshm uses # Group: <name> comment markers in ~/.ssh/config to organise connections into groups. Everything else is standard SSH config syntax, so the file remains usable by other tools.

# Group: Production
Host web-prod
    HostName 192.168.1.10
    User ubuntu
    IdentityFile ~/.ssh/id_ed25519

# Group: Dev
Host dev-box
    HostName 10.0.0.5
    User dev

License

MIT

Documentation

Overview

config.go

detail.go

form.go

keys.go

list.go

main.go

model.go

styles.go

theme.go

tui.go

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL