#!/bin/bash echo "put post_bot.py /root/scripts/python" | sftp root@bpcspace.com ssh root@bpcspace.com "chmod 755 /root/scripts/python/post_bot.py; systemctl reload recolor_bot; systemctl restart recolor_bot; systemctl status recolor_bot"