Say I have a server at 01.23.456.789 and run the following command:
ssh 01.23.456.789 "python3 -c 'import time; print(1); time.sleep(10); print(2);'"
It prints 1 and 2 simultaneously after 10 seconds. Is there any way to get the individual output immediately, so I would get 1 printed, wait for 10 seconds, and get 2 printed?