diff options
Diffstat (limited to 'compass/deploy/remote_excute.exp')
-rw-r--r-- | compass/deploy/remote_excute.exp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/compass/deploy/remote_excute.exp b/compass/deploy/remote_excute.exp deleted file mode 100644 index 9dd112b..0000000 --- a/compass/deploy/remote_excute.exp +++ /dev/null @@ -1,23 +0,0 @@ -#!/usr/bin/expect - -set command [lindex $argv 0] -set passwd [lindex $argv 1] - -eval spawn "$command" -set timeout 60 - -expect { - -re ".*es.*o.*" - { - exp_send "yes\r" - exp_continue - } - - -re ".*sword:" { - exp_send "$passwd\r" - - } - -} - -interact |