Code Monkey home page Code Monkey logo

sshmux's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

sshmux's Issues

store results

Would be nice if we could store results in a database? Also measure execution times so you can visualise data.

read list of servers from file

instead of specifying every server manually with the -h option, read a file with hosts like:

127.0.0.1
127.0.0.2
127.0.0.3
127.0.0.4

and connect to all that hosts.

password authentication not working?

Hi @dvopsway

it is probably just me but I can't get it working to log in without an ssh key.
Whatever I do I always get Error: Invalid value for "--key" / "-k": file doesn't exist when I run something in the lines of python ssh.py -u 'test' -i 127.0.0.1 --password 'test'

Do you know a way to get this working?

Thanks!

hostname instead of IP

At the moment it is only possible to use an IP address, I like the way on how the IP address gets validated before use.

I will work on something to be able to use hostnames and IP addresses.

Thanks for your work!

parallel / concurrent execution

I am not 100% sure since I never used pexcept before. However I have the feeling that the code is sequential and not concurrent/parallel. So it connect to host a first, executes a command and then connect to host b and executes a commend.

What we of course would like to see is that it connects to host a and host b at the same time and prints the output.

I am not sure about pexcept, but I can't find anything about concurrency or parallel execution in their documentation.

Maybe we can use something like multiprocessing?

Let me know what you think about it!

show diff between output instead of full output

Would be nice to have something that shows you the differences between the multiple outputs.
So if you have a large set of server you want to connect to it only shows the difference instead of everything.

We maybe can use difflib for it.

insecure password input

We use an insecure password input form, a user needs to specify his password in the --password option, this can often be found back in a users history file.

I have an pr coming up for this which uses pythons getpass method.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.