Why doesn't this work?

cat .servers | while read LINE; do
ssh jason@$LINE $1
done
exit 1

./command.ksh "ls -l ~jason"

Why does this ONLY iterate on the first server in the list? It's not doing the command on all the servers in the list, what am I missing?
Thanks!
JP

Did you try the example given by Perderabo in your original thread?

I liked mine better. But that looks like it should work. My guess is that the first ssh gets stuck somehow. Change the "ssh" to "echo ssh". That will prove that you can loop on the whole file.