Automation for rsync using shell_command (Help request)

This thread helped me.

This is the SSH command I use in my script.
ssh -tt -i /config/.ssh/id_ed25519 [email protected] -p 22222 -o StrictHostKeyChecking=no