Hostname completion for ssh and telnet commands