I want to run script on remote machine but with delay
for example
scp -rp script root@$IP:/tmp
ssh root@$IP:/tmp/script ( but script will run after 5 sec )
the target is to run the script with no connection from source machine ( not via ssh ) , so ssh will be only the trigger and after 5 sec script will run
sleep 5
to the start of your script