]> xenbits.xensource.com Git - xentesttools/bootstrap.git/commitdiff
debugspace: Move the ssh_stuff in root/ssh_stuff
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 14 Jun 2013 18:02:56 +0000 (14:02 -0400)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 14 Jun 2013 18:03:40 +0000 (14:03 -0400)
(And also alter the README file to reflect new path).
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
root_image/debugspace/root/ssh_stuff/README [new file with mode: 0644]
root_image/debugspace/ssh_stuff/README [deleted file]

diff --git a/root_image/debugspace/root/ssh_stuff/README b/root_image/debugspace/root/ssh_stuff/README
new file mode 100644 (file)
index 0000000..ef4096b
--- /dev/null
@@ -0,0 +1,36 @@
+I am tired of using that newly generated SSH key all the time. How can I
+put my own SSH key on the root image?
+
+In the bootstrap/debugspace/root/ssh_stuff create your SSH keys:
+
+        /usr/bin/ssh-keygen -t rsa1 -b 1024 -f ssh_host_key     -N '' | tail -1
+        /usr/bin/ssh-keygen -t dsa  -b 1024 -f ssh_host_dsa_key -N '' | tail -1
+        /usr/bin/ssh-keygen -t rsa  -b 1024 -f ssh_host_rsa_key -N '' | tail -1
+
+        chmod 400 ssh_host_key
+        chmod 400 ssh_host_dsa_key
+        chmod 400 ssh_host_rsa_key
+
+        rm -f ssh_host_key.pub
+        rm -f ssh_host_dsa_key.pub
+        rm -f ssh_host_rsa_key.pub
+
+Then you need to generate your own SSH keys:
+
+
+[konrad@localhost ssh_stuff]$ ssh-keygen -t rsa
+Generating public/private rsa key pair.
+Enter file in which to save the key (/home/konrad/.ssh/id_rsa): 
+Created directory '/home/konrad/.ssh'.
+Enter passphrase (empty for no passphrase): 
+Enter same passphrase again: 
+Your identification has been saved in /home/konrad/.ssh/id_rsa.
+Your public key has been saved in /home/konrad/.ssh/id_rsa.pub.
+..
+
+Copy the .ssh/id_rsa.pub in the bootstrap/debugspace/root/ssh_stuff/authorized_keys2
+file.
+
+The next time you login in the XTT environment it should not ask you for any
+password (except the password you might have choosen when creating your local
+key).
diff --git a/root_image/debugspace/ssh_stuff/README b/root_image/debugspace/ssh_stuff/README
deleted file mode 100644 (file)
index a6f5c22..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-I am tired of using that newly generated SSH key all the time. How can I
-put my own SSH key on the root image?
-
-In the bootstrap/debugspace/ssh_stuff create your SSH keys:
-
-        /usr/bin/ssh-keygen -t rsa1 -b 1024 -f ssh_host_key     -N '' | tail -1
-        /usr/bin/ssh-keygen -t dsa  -b 1024 -f ssh_host_dsa_key -N '' | tail -1
-        /usr/bin/ssh-keygen -t rsa  -b 1024 -f ssh_host_rsa_key -N '' | tail -1
-
-        chmod 400 ssh_host_key
-        chmod 400 ssh_host_dsa_key
-        chmod 400 ssh_host_rsa_key
-
-        rm -f ssh_host_key.pub
-        rm -f ssh_host_dsa_key.pub
-        rm -f ssh_host_rsa_key.pub
-
-Then you need to generate your own SSH keys:
-
-
-[konrad@localhost ssh_stuff]$ ssh-keygen -t rsa
-Generating public/private rsa key pair.
-Enter file in which to save the key (/home/konrad/.ssh/id_rsa): 
-Created directory '/home/konrad/.ssh'.
-Enter passphrase (empty for no passphrase): 
-Enter same passphrase again: 
-Your identification has been saved in /home/konrad/.ssh/id_rsa.
-Your public key has been saved in /home/konrad/.ssh/id_rsa.pub.
-..
-
-Copy the .ssh/id_rsa.pub in the bootstrap/debugspace/ssh_stuff/authorized_keys2
-file.
-
-The next time you login in the XTT environment it should not ask you for any
-password (except the password you might have choosen when creating your local
-key).