Or combine the two as in (watch for what is a double: ' and what is a single: " ) :
ssh root@kt "while :; do eips ''; usleep 90000; done;"
When you lose or otherwise close the above connection, that loop will go away.
ssh ref: https://www.mobileread.com/forums/sho...d.php?t=204942
Includes simplifications to the above and worked examples.
Note: Not intended as a criticism, just a little bit of thread advertisement.