#ssh remote host:> ssh [email protected] > nohup while true: sleep 10s;# this will not close with ssh session exit.