I want to execute a Python script on several (15+) remote machine using SSH. After invoking the script/command I need to disconnect ssh session and keep the processes running in
This might work, or something similar:
ssh user@remote.host nohup python scriptname.py &
Basically, have a look at the nohup command.