Re: Bash script started twice on the remote server
No idea. Please post a log file.
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
option batch on
option confirm off
open sftp://login:password@server:22/ -timeout=600
call /directory/the_script.sh