Spaces:
Build error
Build error
/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 | |