bash | ssh breaks loop

ssh reads from stdi and absorbs all the nest incoming lines. Avoid this feeding him from /dev/null. ssh -p 666 user@my.host.org COMMAND < /dev/null