This is an automated email from the ASF dual-hosted git repository. sai_boorlagadda pushed a commit to branch authorize_user in repository https://gitbox.apache.org/repos/asf/geode-benchmarks.git
commit 0e93a466a0ac9bed806c856b2a4709fb64ba439c Author: Sai Boorlagadda <[email protected]> AuthorDate: Thu Jan 10 17:17:48 2019 -0800 Add public key to authorized_keys on localhost --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a8f7121..de4d122 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ These benchmarks are under development. ## Running the benchmarks The benchmarks require machines with passwordless ssh enabled in order to run. -Also, ensure that the authentication key pair for SSH does not have a passphrase. If you had +So ensure that the authentication key pair for SSH does not have a passphrase. If you had already previously created a key pair with a passphrase, you can create a different key pair which is of a different type than the previously created one. Use one of the following commands to create a new key pair. @@ -24,6 +24,10 @@ ssh-keygen -t rsa -b 4096 ssh-keygen -t dsa ssh-keygen -t ecdsa -b 521 ``` +While runinng a test on a single machine (i.e. localhost) add the generated key to `authorized_keys` to authorize the user. +``` +cat <your_public_key_file> >> ~/.ssh/authorized_keys +``` To run all benchmarks, run the benchmark task and pass in a list of hosts.
