Skip to content

harukodi/ssh-small-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ssh-small-client

ssh-small-client is used to run a command or multiple commands on multiple servers

NOTE: sudo password does not need to be provided but then you wont be able to run sudo commands

Install preqs

pip install -r requirements.txt

Create the needed json server file

touch servers.json

Paste this to the servers.json file

{
    "servers": [
        {
            "hostname": "",
            "sudo_pass": ""
        },
        {
            "hostname": "",
            "sudo_pass": ""
        }
    ]
}

Run the program with threading

python ssh_client.py --command "whoami"

About

This ssh-small-client is used to execute commands on multiple servers

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages