Fix telnet and remote