expect


- have to change file mod
```typechmod 755 exp-file```


- simple example
```type#!/usr/bin/expectset timeout -1set target_host [lindex $argv 0]set password [lindex $argv 1]spawn bash -c "ssh $target_host"expect {      "password: " {           send "$password\r"      }}interact```




