Advertisement
stronk7

Untitled

May 24th, 2019
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. #!/bin/bash
  2. rm -fr /tmp/test.txt
  3. echo "ONE
  4. TWO
  5. THREE" > /tmp/test.txt
  6.  
  7. while read line; do
  8. echo "I'm $line"
  9. ssh -o ConnectTimeout=1 jenkins@testing.contiento.com "sleep 1"
  10. echo "And I'm done"
  11. done < /tmp/test.txt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement