1#!/usr/bin/expect -df -- 2 3set timeout 300 4 5spawn ssh -p2200 {*}[lrange $argv 0 end] 6 7expect { 8 -ex "Petitboot" { exit } 9 timeout { exit 1 } 10 eof { exit 2 } 11 .* { exp_continue } 12} 13