From f37d155d9f96461ba729c52405fe5d4dceeee60f Mon Sep 17 00:00:00 2001 From: neingeist Date: Wed, 23 Mar 2011 14:30:21 +0100 Subject: [PATCH] mention ssh keys in readme --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0943c55..bfa021b 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,8 @@ virssh - allow users to control their libvirt VM through SSH. virssh is a simple wrapper around sudo and virsh that allows users to control their libvirt VM(s) through SSH. Currently supported is starting/stopping VMs, -serial console and listing all VMs to get their status. +serial console and listing all VMs to get their status. Authorization is done +using SSH public keys. Configuration: @@ -14,7 +15,8 @@ Configuration: Defaults:vmadmin !requiretty vmadmin ALL = (root) NOPASSWD: /usr/bin/virsh -3. For every one of your users, create a line in vmadmin's .ssh/authorized_keys: +3. For every one of your users, create a line in vmadmin's .ssh/authorized_keys + using their SSH public keys: command="/usr/local/bin/virssh myfancyvm",permitopen="localhost:5915",no-X11-forwarding,no-agent-forwarding ssh-rsa AAAAB...== myfancyuser@hjome