qssh

command module
v0.0.0-...-7da24bc Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2021 License: MIT Imports: 9 Imported by: 0

README

qSSH

A simple wrapper for ssh to select profiles from your ~/.ssh/config file. Can be aliased to ssh

qssh

Installation

  • Download binary from Releases, or build it yourself.
  • Rename binary to qssh.
  • (Optional) add alias to replace ssh

Usage

  • qssh Shows a list of profiles specified in the config-file
  • qssh <param> Checks whether a profile with the name of <param> exists, if so opens that profile, else executes ssh <param>
  • qssh <param> <param> ... Passes all params directly to ssh <param> <param> ...

Enhancements

Add #Title and/or #Description to hosts

Host Example
  #Title Some title with spaces
  #Description Some description, like, this host needs VPN prior to connecting, etc...
  HostName example.com
  User foo

Build yourself

Simply run go build && go install. Optionally you can comment out not needed PLATFORMS= and run ./build.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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