Skip to content

abdo0/mikrotik_command_exe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

mikrotik_command_exe

A simplify command script to execute Mikrotik router command through SSH in Linux terminal by passing arguments to it.

First, you need to install sshpass in your environment.

For Debian based:

$ sudo apt install sshpass

In RedHat/CentOS based systems:

# yum install sshpass
# dnf install sshpass    [On Fedora 22+ versions]

Make sure to that your script is executable by type the command:

chmod +x mikrotik.sh

To run the sciprt you should pass all data in terminal:

./mikrotik.sh <username> <password> <host> <command> 

About

A simplify command script to execute Mikrotik command through SSH in Linux terminal by passing arguments to it.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages