docker_test / aberconnect.sh
Yusin's picture
Update aberconnect.sh
d9923c6
raw
history blame
281 Bytes
#!/bin/bash
/usr/bin/expect <<EOF
set timeout -1
set username yuxing.chen@unitn.it
set password cyx521301
spawn ./openconnect --protocol=gp vpn.icts.unitn.it --user=$username
expect {
"Password:*" {
send -- "$password\r"
}
}
EOF