From eaf2b28fd7b9af740b511657ad66d2e3f52fa3cb Mon Sep 17 00:00:00 2001
From: Nico Schottelius <nico@kr.ethz.ch>
Date: Thu, 6 Oct 2011 13:34:28 +0200
Subject: [PATCH] more prefix ideas

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
---
 doc/dev/logs/2011-10-06.ssh_scp_sudo_chroot | 22 +++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/doc/dev/logs/2011-10-06.ssh_scp_sudo_chroot b/doc/dev/logs/2011-10-06.ssh_scp_sudo_chroot
index 91f5d204..ec89a999 100644
--- a/doc/dev/logs/2011-10-06.ssh_scp_sudo_chroot
+++ b/doc/dev/logs/2011-10-06.ssh_scp_sudo_chroot
@@ -44,6 +44,28 @@ os.environ['__remote_exec'] = ["ssh", "-l", "root" ]
 os.environ['__remote_exec'] = ["ssh", "-o", "User=root" ]
 os.environ['__remote_copy'] = ["scp", "-o", "User=root" ]
 
+
+__remote_exec=~/sudossh __remote_copy=... cdist config localhost
+
+~/sudossh hostname $@...
+~/sudocopy a hostname:b
+
+~/chrootssh
+~/chrootcopy
+
+
+
+a)
+   3 cmd verzeichnnise: cdist, sudo, chroot
+   pro aufruf variable ändern
+
+b)
+   1 dir, mit zeug
+   pro aufruf variablen ändern
+
+
+conf/cmd/remote_exec 
+
 args for __remote_exec
    $1 = hostname
    $2 - ...  = stuff to be executed in /bin/sh on remote side