Fix telnet/ssh remote