sshman
sshman copied to clipboard
Manage all your ssh login configuration easily and efficiently
SSH Man

中文
A shell script to manage all of your SSH config. Works nicely with fzf
.
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
- Install
expect
See here.
- 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.
- Install
fd
(optional)
It's optional, If
fd
is not installed, in upload command, when you select local files, it's usingfind .
. 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