#! /usr/bin/expect set timeout 20 set Host "localhost 80" spawn telnet $Host