Searched refs:authkeys_path (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/qga/ |
H A D | commands-posix-ssh.c | 119 g_autofree char *authkeys_path = NULL; in qmp_guest_ssh_add_authorized_keys() local 136 authkeys_path = g_build_filename(ssh_path, "authorized_keys", NULL); in qmp_guest_ssh_add_authorized_keys() 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 [all …]
|
H A D | commands-windows-ssh.c | 66 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()
|