Home
last modified time | relevance | path

Searched refs:authkeys_path (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/qga/
H A Dcommands-posix-ssh.c119 g_autofree char *authkeys_path = NULL; in qmp_guest_ssh_add_authorized_keys() local
139 authkeys = read_authkeys(authkeys_path, NULL); in qmp_guest_ssh_add_authorized_keys()
159 write_authkeys(authkeys_path, authkeys, p, errp); in qmp_guest_ssh_add_authorized_keys()
167 g_autofree char *authkeys_path = NULL; in qmp_guest_ssh_remove_authorized_keys() local
182 authkeys_path = g_build_filename(p->pw_dir, ".ssh", in qmp_guest_ssh_remove_authorized_keys()
184 if (!g_file_test(authkeys_path, G_FILE_TEST_EXISTS)) { in qmp_guest_ssh_remove_authorized_keys()
187 authkeys = read_authkeys(authkeys_path, errp); in qmp_guest_ssh_remove_authorized_keys()
208 write_authkeys(authkeys_path, new_keys, p, errp); in qmp_guest_ssh_remove_authorized_keys()
215 g_autofree char *authkeys_path = NULL; in qmp_guest_ssh_get_authorized_keys() local
225 authkeys_path = g_build_filename(p->pw_dir, ".ssh", in qmp_guest_ssh_get_authorized_keys()
[all …]
H A Dcommands-windows-ssh.c66 char *authkeys_path = NULL; in get_admin_ssh_folder() local
89 authkeys_path = g_build_filename(programDataPath, "ssh", NULL); in get_admin_ssh_folder()
90 return authkeys_path; in get_admin_ssh_folder()