connect using telnet to check key.