Skip to content

Bucket-ssh. A fuzzy ssh manager for managing and categorizing ssh connections.

Notifications You must be signed in to change notification settings

FurkanTheHuman/bssh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

made-with-Go GitHub release GitHub release

logo

Bssh

Bssh is an ssh bucket for categorizing and automating ssh connections. Also, with parallel command execution and connection checks(pings) over categories (namespaces).

example gif

Usage

Adding Connections To The Bucket

Start by adding an ssh connection
bssh add --addr root@example.com -n cluster --key .ssh/id_rsa --alias exmaple_conn
or
bssh add --addr root@example.com -n cluster --password <SOME PASSWORD> --alias exmaple_conn

-n <namespace> flag enables you to categorize the connections.

Connecting

By typing bssh you can now see the connection and connect to it. Also, by using bssh -n you can filter by namespaces
You can add more connections to the same namespace.

Parallel Code Execution

Let's say you have 30 different servers in you cluster and want check if the time is synchronized.
run:
bssh run -n date
select the namespace you want to check.
Or you might want to know which host is up or down.
bssh ping -n

for more commands check bssh --help

Installation

Installing With go-get

If you have go installed you can use go-get to install bssh.
go get github.com/furkanthehuman/bssh

Installing From The Source

You can install the project by cloning this repository. Of course go needs to be installed.
git clone https://github.com/FurkanTheHuman/bssh
cd bssh
go build .
sudo cp bssh /usr/local/bin/bssh

Install From Binary

You can directly install the executable from GitHub release. Choose the version that is compatible with your system from here
wget -O bssh.tar.gz https://github.com/FurkanTheHuman/bssh/releases/download/v0.1.6/bssh_0.1.6_linux_amd64.tar.gz
tar xvf bssh.tar.gz chmod +x bssh
sudo cp bssh /usr/local/bin/bssh

About

Bucket-ssh. A fuzzy ssh manager for managing and categorizing ssh connections.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages