About
Color SSH (cossh) is a Rust-based wrapper for SSH that enhances your terminal experience with real-time syntax highlighting and session logging. Built for network engineers, system administrators, and anyone who works with devices that have basic shells.

Features
- Session Manger TUI
- Syntax highlighting
- Session logging
- Configuration hot reload
- Mutliple Profile Support
- Configurable rules using regex matching
Installation
Pre-built Binaries (Recommended)
Download the latest release from GitHub Releases for your platform.
Cargo
From Source
# Clone the repository
# Build the release binary
Shell Completion
Shell completeion scripts are included for fish and zsh. For instructions see the Shell Completion README.
Usage
;
Configuration
Rule Config
Configuration files are looked for in the following order:
- Current directory:
./[profile].cossh-config.yaml - Home directory:
~/.color-ssh/[profile].cossh-config.yaml
If no configuration file is found the default configuration will be created at ~/.color-ssh/cossh-config.yaml.
Color-SSH TUI Metadata in ~/.ssh/config
The interactive session manger supports metadata comments inside the SSH config file.
| Tag | What it does |
|---|---|
#_Desc <text> |
Adds description in the info view. |
#_Profile <name> |
Opens that host using the matching cossh profile ([profile].cossh-config.yaml). |
#_sshpass <true|yes|1> |
Connects with sshpass -e for that host. |
#_hidden <true|yes|1> |
Hides the host from the interactive host list. |
Host switch01
HostName switch01.example.com
User admin
#_Profile network
#_Desc Example Switch
#_sshpass true
For more info on the TUI go here TUI User Guide.
Uninstall
Cargo
Homebrew
Linux/macOS (Manual)
# 1. Remove the main binary
# 2. Remove the updater binary
# 3. (Optional) Remove configuration and logs
# 4. Remove the installation receipt
Shell Completion Cleanup
For instructions see the Shell Completion README.
Support
If you need help, have an issue, or just want to make a sugestion / request a feature please open an issue.
Special Thanks
Thanks to the following projects for the inspiration behind Color SSH.
Also thank you to Alacritty for the terminal create that is being used to render the terminal in the TUI