[root@fugo trace]# sh expect.sh expect.sh: line 9: expect: command not found
expect -c"
# exp_internal 1 # uncomment for debugging
# spawn ssh root@$HOST
expect {
"*password:*" { send $password\r\n; interact }
eof { exit }
}
exit
"
am getting error while executing this script
|