def geoserverLocationSsh():
    location = geoserverLocation().split(":")[0]
    sshport = GSSSHPORT
    sshport = os.getenv('GSSSHPORT', sshport)
    return '%s:%s' % (location, sshport)
get GSSSHPORT and GSSSHPORT or use default localhost:8443.
dataset/ETHPy150Open boundlessgeo/gsconfig/test/utils.py/geoserverLocationSsh