Get input from user for hostname / ip