def METHOD_NAME(self, keys, key_name):
    """
    Save the keys on the system.
    :keys:dict: Dictionary containing the keys
    :key_name:  File name for the keys
    """
    for key in keys:
        if key == "private":
            with open(os.open(self.ssh_dir+key_name, os.O_CREAT | os.O_WRONLY, 0o600), "w") as key_file:
                key_file.write(keys[key].decode())
        else:
            with open(os.open(self.ssh_dir+key_name+".pub", os.O_CREAT | os.O_WRONLY, 0o600), "w") as key_file:
                key_file.write(keys[key].decode())