private void getAuthDetails(Questioner q){
		while (true){
			if(host == null)
				host = q.questionVisible("host:", "localhost");
			if (host == null || host.length() == 0)
				continue;
			if (host.indexOf(':') != -1) {
				final String portString = host.substring(host.indexOf(':') + 1);
				try {
					port = Integer.parseInt(portString);
				} catch (final NumberFormatException eee) {
					q.showMessage("Could not parse port : " + portString);
					continue;
				}
				host = host.substring(0, host.indexOf(':'));
			}
			
			if(user == null)
				user = q.questionVisible("user:", System.getProperty("user.name").toLowerCase());
			if (host == null || host.length() == 0)
				continue;
			break;
		}
	}