[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 0/2] qemu-ga: add ssh-{add,remove}-authorized-keys
From: |
marcandre . lureau |
Subject: |
[PATCH v2 0/2] qemu-ga: add ssh-{add,remove}-authorized-keys |
Date: |
Thu, 15 Oct 2020 20:08:17 +0400 |
From: Marc-André Lureau <marcandre.lureau@redhat.com>
Hi,
Add two new commands to help modify ~/.ssh/authorized_keys.
Although it's possible already to modify the authorized_keys files via
file-{read,write} or exec, the commands are often denied by default, and the
logic is left to the client. Let's add specific commands for this job.
Fixes:
https://bugzilla.redhat.com/show_bug.cgi?id=1885332
v2:
- misc doc improvements
- various warnings fixes
- fix build for !unix
- added reviewed-by
Marc-André Lureau (2):
glib-compat: add g_unix_get_passwd_entry_qemu()
qga: add ssh-{add,remove}-authorized-keys
include/glib-compat.h | 26 +++
qga/commands-posix-ssh.c | 400 +++++++++++++++++++++++++++++++++++++++
qga/commands-win32.c | 12 ++
qga/meson.build | 20 +-
qga/qapi-schema.json | 33 ++++
5 files changed, 490 insertions(+), 1 deletion(-)
create mode 100644 qga/commands-posix-ssh.c
--
2.28.0
- [PATCH v2 0/2] qemu-ga: add ssh-{add,remove}-authorized-keys,
marcandre . lureau <=