Skip to main content

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.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ssheasy-1.0.0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

ssheasy-1.0.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file ssheasy-1.0.0.tar.gz.

File metadata

  • Download URL: ssheasy-1.0.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for ssheasy-1.0.0.tar.gz
Algorithm Hash digest
SHA256 72bb59df8aeada3822e2afa5f50b4e3bce374bec8e6c8fc6904e0568bc0f5748
MD5 9e78e6745ff2287ddef061b0cd7b55ff
BLAKE2b-256 c8337223ebac062288d8c52e57b5f8268a126a5450317ddb76222af6a4c1f835

See more details on using hashes here.

File details

Details for the file ssheasy-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: ssheasy-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for ssheasy-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c4bbe6517f68bec7e05ffde4ebc6b8d0492829743eeffc13fcd633d05a51de2e
MD5 9ab5384f1596fea4d7a52c84523cac1e
BLAKE2b-256 ead50cf7b04d1590a386d81ab1f5d04a718c6ffbde39068208b264baab8ecc19

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page