yconn-1.8.0 is not a library.
yconn
SSH connection manager CLI — manage named SSH connections across teams and projects with a layered, git-friendly config system.
Connections live in YAML files at three layers (project, user, system). Higher layers override lower ones on name collision. When a Docker image is configured, yconn re-invokes itself inside the container so SSH keys can be pre-baked into an image rather than distributed to individual machines.
Documentation
- Configuration reference — layer system, all config fields, Docker block, session file, credential policy
- Examples — copy-paste-ready scenarios: project-layer only, project + user layers, Docker-enabled setup, multi-group setup
Installation
Arch Linux
One-step (pacman fetches and installs directly from the release URL):
VERSION=1.2.0
Debian / Ubuntu
VERSION=1.2.0
From source
# or: make install PREFIX=~/.local # installs to ~/.local/bin/yconn (no sudo needed)
The man page is also installed if you have run make docs first.
Cargo
Quick start
# Scaffold a project config in the current directory
# Add a connection interactively
# List all connections
# Connect
# Switch to a named group
Commands
| Command | Description |
|---|---|
yconn list |
List all connections across all layers |
yconn connect <name> |
Connect to a named host |
yconn show <name> |
Show resolved config for a connection (no secrets printed) |
yconn add |
Interactive wizard to add a connection to a chosen layer |
yconn edit <name> |
Open the connection's source config file in $EDITOR |
yconn remove <name> |
Remove a connection (prompts for layer if ambiguous) |
yconn init |
Scaffold a <group>.yaml in .yconn/ in the current directory |
yconn config |
Show active config files, their paths, and Docker status |
yconn group list |
Show all groups found across all layers |
yconn group use <name> |
Set the active group |
yconn group clear |
Revert to the default group (connections) |
yconn group current |
Print the active group name and resolved config file paths |
yconn ssh-config |
Write Host blocks to ~/.ssh/yconn-connections and update ~/.ssh/config |
yconn users show |
List all user key/value entries across all layers |
yconn users add |
Interactive wizard to add a user entry to a chosen layer |
yconn users edit <key> |
Open the source config file for a user entry in $EDITOR |
Global flags: --all, --verbose
Per-subcommand flags: --layer system|user|project (for add, edit, remove, user add, user edit)
Development
# First-time setup (installs Rust components and cargo-llvm-cov)
# System packages also required:
See man yconn for the full command reference after make docs.