Skip to main content

SSHeasy

For manage multiple ssh account easily.

SSHeasy

SSHeasy is a python version of ruby gem SSHwitch which through you can manage multiple ssh key in Unix-like system. The purpose of this is to enable using different sets of keys for services such as Github, Heroku, Bitbucket, or any other that requires SSH auth.

Install

pip3 install crypto // If you face any issue while install ssheasy packages 
pip3 instlal ssheasy

Usage

Backup

Supposing you already have a "work" key pair in your home dir. First do a backup of it:

ssheasy backup work

This will create a copy of the current key pair (the one in ~/.ssh/) in a new dir: ~/.ssh/work

New

To create a new RSA key pair (you need to have ssh-keygen installed) run:

ssheasy new personal

This will create a new key pair in ~/.ssh/personal

Switch

Make personal the current key pair:

ssheasy switch personal

Change back to work key pair

ssheasy switch work

Rename

Change the work key pair to job (both params together separated by space):

ssheasy rename work job

This will move (rename) the folder ~/.ssh/work to ~/.ssh/job

List

List the name of available key pairs

ssheasy list

Current

Display the name of the active key pair

ssheasy current

Delete

Delete the key pair in ~/.ssh/job

ssheasy delete job

If that key was currently active, it will stay that way until you switch it out again

Help?

ssheasy
or
ssheasy --help

MIT License

Copyright (c) 2021 Md. Morshed Alam Masud

This repository is licensed under the MIT license.
See LICENSE for details.

Release files for ssheasy 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ssheasy 1.0.0
File Size Uploaded
ssheasy-1.0.0.tar.gz 4.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ssheasy 1.0.0
File Interpreter ABI Platform
ssheasy-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.9 kB

Release files / ssheasy-1.0.0.tar.gz

Download URL ssheasy-1.0.0.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
72bb59df8aeada3822e2afa5f50b4e3bce374bec8e6c8fc6904e0568bc0f5748
BLAKE2b-256 checksum
How to use checksums
c8337223ebac062288d8c52e57b5f8268a126a5450317ddb76222af6a4c1f835
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.22.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.5

Release files / ssheasy-1.0.0-py3-none-any.whl

Download URL ssheasy-1.0.0-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c4bbe6517f68bec7e05ffde4ebc6b8d0492829743eeffc13fcd633d05a51de2e
BLAKE2b-256 checksum
How to use checksums
ead50cf7b04d1590a386d81ab1f5d04a718c6ffbde39068208b264baab8ecc19
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.22.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.5

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page