more: https://github.com/x4nth055/pythoncode-tutorials To run this:
pip3 install -r requirements.txt
- To execute an entire BASH script (.sh) named
script.sh
for instance on192.168.1.101
withtest
as username andabc123
as password:python execute_bash.py 192.168.1.101 -u root -p inventedpassword123 -b script.sh
https://github.com/x4nth055/pythoncode-tutorials/tree/master/general/execute-ssh-commands
py ssh.py
run.bat
browser
windows cd F:\PycharmProjects\gitlab-queue-api .\uvicorn.start.bat
py -m pip install paramiko
py -m pip install -r requirements.txt
pip install -r src/requirements.txt