to make the expect telnet ok and pass