The command that you need to execute is the following:
./client -r 3 -d 2 -u admin -p admin 'container-stop my-container'
this example will authenticate and will execute the desired command a single step.
The parameters -u and -p are for username and password. There are few optional parameters like -r for retries in case of error and -d for delay. You can omit them.
If you have few commands to execute like restarting a single Fabric environment than probably is OK to write it as a bash script.
But if you need to be flexible, centralized, to be able to run on many environments at once, universal, portable, etc, then my opinion is that you better use some automation system. It will pay off later. In that case I can suggest you to look at Ansible because it's lightweight and it's easy to write the script for it. This is an application that you install on a single machine. From there you can SSH into remote machines and execute specific tasks. Those instructions you have to provide in a simple Ansible script called playbook. You can have multiple target hosts also and you can execute as many tasks as you want even simultaneously.