From 41d1257c1602b94ad12ed10debb524917a6e12a9 Mon Sep 17 00:00:00 2001 From: buck Date: Mon, 22 Oct 2012 11:21:07 -0700 Subject: [PATCH 1/2] Edit to README.bst to note that the ssh keys needed in the targets entries are the hosts public ssh key and not the users defined in the same entry --- README.rst | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index d63229be29..329d710998 100644 --- a/README.rst +++ b/README.rst @@ -67,9 +67,9 @@ the nodes & use the live cluster ad hoc), might look like this:: - [mon.1, osd.1] - [mon.2, client.0] targets: - ubuntu@host07.example.com: ssh-rsa long_key_here - ubuntu@host08.example.com: ssh-rsa other_key - ubuntu@host09.example.com: ssh-rsa third_key + ubuntu@host07.example.com: ssh-rsa host07_ssh_key + ubuntu@host08.example.com: ssh-rsa host08_ssh_key + ubuntu@host09.example.com: ssh-rsa host09_ssh_key tasks: - ceph: - ceph-fuse: [client.0] @@ -81,7 +81,9 @@ Note the colon after every task name in the ``tasks`` section. You need to be able to SSH in to the listed targets without passphrases, and the remote user needs to have passphraseless `sudo` -access. +access. Note that the ssh key at the end of the ``targets`` +entries are the public ssh keys for the hosts. +On Ubuntu, this is located at /etc/ssh/ssh_host_rsa_key.pub If you'd save the above file as ``example.yaml``, you could run teuthology on it by saying:: From a8f4f8853d3ae34d0487acb5254ccac27eff6b69 Mon Sep 17 00:00:00 2001 From: Joe Buck Date: Mon, 22 Oct 2012 11:33:44 -0700 Subject: [PATCH 2/2] fixing the tense of my README change --- README.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 329d710998..d6eab3af37 100644 --- a/README.rst +++ b/README.rst @@ -81,9 +81,9 @@ Note the colon after every task name in the ``tasks`` section. You need to be able to SSH in to the listed targets without passphrases, and the remote user needs to have passphraseless `sudo` -access. Note that the ssh key at the end of the ``targets`` +access. Note that the ssh keys at the end of the ``targets`` entries are the public ssh keys for the hosts. -On Ubuntu, this is located at /etc/ssh/ssh_host_rsa_key.pub +On Ubuntu, these are located at /etc/ssh/ssh_host_rsa_key.pub If you'd save the above file as ``example.yaml``, you could run teuthology on it by saying::