Skip to content

malathair/ssm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Malathair's Simple SSH Manager

Version Go Reference Go Report Card MIT License


About the Project

SSM is a CLI utility that attempts to provide a better SSH experience by providing a wrapper for OpenSSH's ssh command. It does so through a simplified interface with some sensible defaults that automatically generates and executes OpenSSH's ssh command in the background. The defaults chosen by SSM can be overridden for all hosts using a TOML based configuration file, or on a per-host basis through flags.

This tool also provides some additional functionality that is difficult or impossible to achieve through a typical SSH config file. This includes functionality such as dynamic FQDN completion and password autofill through the use of sshpass.

This is a port/re-imagining of my original Python implementation which can be found here: Malathair's Python Simple SSH Manager


Getting Started

Prerequisites

Additional software needed to use SSM

  • OpenSSH SSH client

Installation

SSM can be installed using the go installer by running the following command:

go install github.com/malathair/ssm@latest

By using the standalone installer script:

curl https://raw.githubusercontent.com/malathair/ssm/refs/heads/main/install.sh | sh

Or by downloading the latest precompiled binary

Configuration

SSM expects the configuration file called ssm.conf to exist in the current working directory or in the user's config home dir.

An example configuration file can be found here: examples/ssm.conf


Updating

To update SSM, simply copy the latest ssm binary over the existing binary on your system. This can be done by either running the installer script, or by downloading the latest precompiled binary


Uninstalling

SSM can be uninstalled by running:

rm $(which ssm)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published