Automating vkCloudS3 and SSH takes no code: a ready-made scenario does the routine for you.
Starts when: On clicking 'execute'
Then: Variables
Then: Execute a command
Then: Read File
Then: Google Drive Upload File
Starts when: Schedule Trigger
You can launch this vkCloudS3 + SSH integration in Scriptera: describe the task in plain words — the scenario is built, launched and monitored for you.