Skip to content

sweetcolor/exec-by-ssh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bash script executor by ssh

This python script allow you execute file with list of bash commands using ssh.

Dependencies

Script was written on python 3 and using paramiko library for ssh.

For installing paramiko you can use:

pip install paramiko

Using

For using you need create own file with bash commands list. Also you need write login information at the first line in file. Login information must require following rules:

ip-address,user-name,password

Example:

192.168.0.100,admin,secret

From the second line start commands, each in own line.

For starting execute just run script:

python3 exec_by_ssh.py <commands input file>

Licence

This script was writen with MIT licence.

Releases

No releases published

Packages

No packages published

Languages