If the configfile doesn't exist, this method will (indirectly) create
        it and exit.

        If it does exist, it will load the config values from the file (which
        may be different from those defined be default in this module), and
        update the in-memory config values with what it reads from the file.

def updateConfig(self):
        """
        If the configfile doesn't exist, this method will (indirectly) create
        it and exit.

        If it does exist, it will load the config values from the file (which
        may be different from those defined be default in this module), and
        update the in-memory config values with what it reads from the file.
        """
        config = self.getConfig()
        if not config:
            return
        self.ssh.servicename = config.get("SSH", "servicename")
        self.ssh.ip = config.get("SSH", "ip")
        self.ssh.port = int(config.get("SSH", "port"))
        self.ssh.pidfile = config.get("SSH", "pidfile")
        self.ssh.username = str(config.get("SSH", "username"))
        self.ssh.keydir = config.get("SSH", "keydir")
        self.ssh.privkey = config.get("SSH", "privkey")
        self.ssh.pubkey = config.get("SSH", "pubkey")
        self.ssh.localdir = config.get("SSH", "localdir")
        self.ssh.userdirtemplate = config.get("SSH", "userdirtemplate")
        self.ssh.userauthkeys = config.get("SSH", "userauthkeys")
        self.ssh.usesystemkeys = eval(config.get("SSH", "usesystemkeys"))
        self.ssh.banner = str(config.get("SSH", "banner"))
        return config