use the port from network settings if the host is fixed, use 22 otherwise