Home
last modified time | relevance | path

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

/openbmc/qemu/qga/
H A Dcommands-posix-ssh.c118 g_autofree char *ssh_path = NULL; in qmp_guest_ssh_add_authorized_keys() local
135 ssh_path = g_build_filename(p->pw_dir, ".ssh", NULL); in qmp_guest_ssh_add_authorized_keys()
136 authkeys_path = g_build_filename(ssh_path, "authorized_keys", NULL); in qmp_guest_ssh_add_authorized_keys()
142 if (!g_file_test(ssh_path, G_FILE_TEST_IS_DIR) && in qmp_guest_ssh_add_authorized_keys()
143 !mkdir_for_user(ssh_path, p, 0700, errp)) { in qmp_guest_ssh_add_authorized_keys()