DEV Community

Cover image for Meet This SSH Multi-Server Manager
Marcos Oliveira
Marcos Oliveira

Posted on

Meet This SSH Multi-Server Manager

If you manage multiple servers via SSH, you should check out LazySSH.

It's a terminal-based (TUI) SSH manager, inspired by tools like lazydocker and k9s, that makes it easy to navigate and manage entries in your ~/.ssh/config file.

  • Search by alias, IP, or tags
  • Pin favorite servers
  • Add, edit, and remove hosts directly from the interface
  • Ping to check availability
  • SSH connection with a single Enter
  • Sorting and filtering options
  • Preserves your ~/.ssh/config by creating automatic backups before making changes

Installation

Homebrew (macOS and Linux)

brew install lazyssh
Enter fullscreen mode Exit fullscreen mode

Building with Go (Linux, macOS, and Windows)

If you already have Go installed:

git clone https://github.com/adembc/lazyssh.git
cd lazyssh
go build -o lazyssh ./cmd
Enter fullscreen mode Exit fullscreen mode

Then, optionally, move the binary to a directory in your PATH:

sudo mv lazyssh /usr/local/bin/
Enter fullscreen mode Exit fullscreen mode

Or install it directly using:

go install github.com/Adembc/lazyssh/cmd@latest
Enter fullscreen mode Exit fullscreen mode

Usage

After installation, just run:

lazyssh
Enter fullscreen mode Exit fullscreen mode

The program automatically reads the file:

~/.ssh/config
Enter fullscreen mode Exit fullscreen mode

So all you need is to have your SSH hosts already configured as usual to start using it.


For more information, visit: https://github.com/adembc/lazyssh

Top comments (0)