Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

The simplest ssh cli agent one is able to find

Project Description

Why?

It looks like, that it is really hard to find a ssh connection managing instance that just saves ssh connection details through an alias. I am not able to remember all the hosts that I am responsible for, therefore a manager is needed. One may say … “Dude, do this shit in (ba)sh! … stupid”. But for me shell scripting is, in most of the cases, just an annoying task.

So there it is. A python script that stores ssh connection details. You can even run ssh connections with it … hell yeah! It is all based on a single small file in your home directory called hosts.pickle under the directory damnsshmanager. One host contains simply the attributes

  • alias
  • addr
  • port
  • username

At the moment this thing handles no more data! It is developed just for this simple reason.

Installation

via pip

pip install damnsshmanager

from sources

git clone https://github.com/captain-proton/damnsshmanager

cd damnsshmanager

python3 setup.py install

Usage

With the installation comes the script dsm.

dsm -h
Action Command
add dsm add <alias> <hostname> [-u username] [-p port]
delete dsm del <alias>
connect dsm c <alias>

When run without parameters all saved instances are tested.

Release History

Release History

This version
History Node

0.1.2

History Node

0.1.1

History Node

0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
damnsshmanager-0.1.2.tar.gz (4.3 kB) Copy SHA256 Checksum SHA256 Source Mar 22, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting