File size: 384 Bytes
a8cfc9f
52d92f0
a8cfc9f
52d92f0
 
 
a8cfc9f
 
 
 
52d92f0
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/expect -f
set PASSPHRASE_GROUP17 [lindex $argv 0]
spawn ./setupaccess.sh
set timeout 5
expect "The authenticity of host"
send "yes\r"
expect "Enter passphrase for key 'group17':\r"
send "$PASSPHRASE_GROUP17\r"
expect "Enter passphrase for key 'group17':\r"
send "$PASSPHRASE_GROUP17\r"
expect "Enter passphrase for key 'group17':\r"
send "$PASSPHRASE_GROUP17\r"
expect eof