Simple test Script print access for server ip user sources-ip public key if exist Input two parameters:
- list of hosts (input.txt)
- list of key (key.txt)
For correct work need pushy, paramiko, re, getopt modules and dbus on target hosts
Run: python main.py -i input.txt -k key.txt
Or:
python main.py
if input.txt and key.txt exist in directory.