This is correct:
- Code: Select all
if {[lindex $argv 4] == "yes"} {spawn ssh -o StrictHostKeyChecking=no $userID@$ipNumber} else {spawn ssh $userID@$ipNumber}
has a blank after else missing. (before the { )
I will publish a new version later.
You could fix that yourself quickly by editing the file and add a blank after "else"
(don't use textedit or word ..)
Karl