Functions for completing SSH hostnames