qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/7] qemu-ga: add ssh-{get,add,remove}-authorized-keys
@ 2020-10-20  8:12 marcandre.lureau
  2020-10-20  8:12 ` [PATCH v3 1/7] glib-compat: add g_unix_get_passwd_entry_qemu() marcandre.lureau
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: marcandre.lureau @ 2020-10-20  8:12 UTC (permalink / raw)
  To: qemu-devel; +Cc: berrange, Michael Roth, Marc-André Lureau

From: Marc-André Lureau <marcandre.lureau@redhat.com>

Hi

Add new commands to help modify a user .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

v3:
 - add "qga: add ssh-get-authorized-keys" & "qga: add *reset argument to
   ssh-add-authorized-keys" patches
 - add some fixup! patches to be squashed after review, adding 'if'
 - added the reviewed-by
 - misc doc improvements

v2:
 - misc doc improvements
 - various warnings fixes
 - fix build for !unix
 - added reviewed-by

Marc-André Lureau (7):
  glib-compat: add g_unix_get_passwd_entry_qemu()
  qga: add ssh-{add,remove}-authorized-keys
  fixup! qga: add ssh-{add,remove}-authorized-keys
  fixup! qga: add ssh-{add,remove}-authorized-keys
  qga: add *reset argument to ssh-add-authorized-keys
  meson: minor simplification
  qga: add ssh-get-authorized-keys

 include/glib-compat.h    |  26 ++
 qga/commands-posix-ssh.c | 516 +++++++++++++++++++++++++++++++++++++++
 qga/meson.build          |  34 ++-
 qga/qapi-schema.json     |  67 +++++
 4 files changed, 636 insertions(+), 7 deletions(-)
 create mode 100644 qga/commands-posix-ssh.c

-- 
2.28.0




^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-10-26 17:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-20  8:12 [PATCH v3 0/7] qemu-ga: add ssh-{get,add,remove}-authorized-keys marcandre.lureau
2020-10-20  8:12 ` [PATCH v3 1/7] glib-compat: add g_unix_get_passwd_entry_qemu() marcandre.lureau
2020-10-20  8:12 ` [PATCH v3 2/7] qga: add ssh-{add,remove}-authorized-keys marcandre.lureau
2020-10-20  8:12 ` [PATCH v3 3/7] fixup! " marcandre.lureau
2020-10-20  8:12 ` [PATCH v3 4/7] " marcandre.lureau
2020-10-20  8:12 ` [PATCH v3 5/7] qga: add *reset argument to ssh-add-authorized-keys marcandre.lureau
2020-10-20  8:12 ` [PATCH v3 6/7] meson: minor simplification marcandre.lureau
2020-10-20  8:12 ` [PATCH v3 7/7] qga: add ssh-get-authorized-keys marcandre.lureau
2020-10-20  8:24 ` [PATCH v3 0/7] qemu-ga: add ssh-{get,add,remove}-authorized-keys no-reply
2020-10-26 17:10 ` Marc-André Lureau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).