Thanks, SirDice. That worked. I'm thinking it was the pipe in combination with the ssh in my loop that killed it.
/* You are not expected to understand this. */
Forum Rules