Skip to content
/ sshman Public

Manage all your ssh login configuration easily and efficiently

Notifications You must be signed in to change notification settings

Gcaufy/sshman

Repository files navigation

SSH Man CI Version

中文

A shell script to manage all of your SSH config. Works nicely with fzf.

sshman

Features

  • Manage SSH config interactively.
  • Support fuzzy filter by using fzf.
  • Sort by your SSH login frequency.
  • Pure bash scripts.
  • Support quick scp upload/download.

Demo

How to login

How to manage server config

How to upload a file or directory to the server

How to download file from a server

Dependencies

Usage

$ s help

Install

Install Dependencies

  1. Install expect

See here.

  1. Install fzf (optional)

It's optional, but strongly suggested. If fzf is not installed, you can not use upload and download command. And also you have to select a server by typing its sequence number(which I think it's inefficient). See Installation.

  1. Install fd (optional)

It's optional, If fd is not installed, in upload command, when you select local files, it's using find .. See Installation

Install sshman

curl -o- https://raw.githubusercontent.com/Gcaufy/sshman/master/install | bash

Development

Lint

After installed shellcheck, then run the following commands for code lint.

$ make lint

Test

After installed bats, then run the following commands to run uint test.

$ make test

License

The MIT License (MIT) Copyright (c) 2020-2021 Gcaufy

About

Manage all your ssh login configuration easily and efficiently

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published