aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorVincenzo Maffione <[email protected]>2017-04-29 13:19:27 +0200
committerVincenzo Maffione <[email protected]>2017-04-29 13:19:44 +0200
commit1e7215a18ea96fbba60bb5df4f33bb15a90d434e (patch)
tree545ce1c7d11e37c78ac02be7c7588f964c267c21 /README.md
parent5db6829d150669bb577565c0b6b26c5b03f8b421 (diff)
downloadrumba-1e7215a18ea96fbba60bb5df4f33bb15a90d434e.tar.gz
rumba-1e7215a18ea96fbba60bb5df4f33bb15a90d434e.zip
README.md: update with JFed-specific instructions to access nodes
Diffstat (limited to 'README.md')
-rw-r--r--README.md30
1 files changed, 21 insertions, 9 deletions
diff --git a/README.md b/README.md
index d6e0839..c854772 100644
--- a/README.md
+++ b/README.md
@@ -82,16 +82,28 @@ a look at the examples/ folder.
Here the experiment name is rochefort10, the user's name is
ricksanchez, and the certificate can be found in
- /home/morty/cert.pem. Please use an absolute path for cert_file for
- now.
+ /home/morty/cert.pem. An absolute path must be used for cert_file.
- Before running the experiment it is wise to use an SSH agent to
- avoid having to enter the passphrase for every login to a node by
- the framework if you are not on an IPv6 enabled network. (Apart
- from asking for the passphrase to login to the nodes, the framework
+ Before running the rumba you must run an SSH agent in same terminal.
+ This will also avoid you having to enter the passphrase for every
+ login to a node by the framework if you are not on an IPv6 enabled network.
+ (Apart from asking for the passphrase to login to the nodes, the framework
will always ask for the passphrase since it is needed by the jFed
CLI as well.) In order to start an SSH agent and to add the
- certificate, simply perform the following commands:
+ certificate, type the following commands:
- eval `ssh-agent`
- ssh-add /home/morty/cert.pem
+ $ eval `ssh-agent`
+ $ ssh-add /home/morty/cert.pem
+
+ To access a node once the experiment swapped in, use the following
+ command (in the same terminal where ssh-agent was run):
+
+ $ ssh -A -oProxyCommand="ssh -i $CERTPATH
+ -o StrictHostKeyChecking=no [email protected]
+ nc $NODENAME.$EXP.wall2-ilabt-iminds-be.wall2.ilabt.iminds.be 22"
+ $USER@$NODENAME.$EXP.wall2-ilabt-iminds-be.wall2.ilabt.iminds.be
+
+ where $CERTPATH is the absolute path of the certificate (e.g.
+ /home/morty/cert.pem), $USER is the jFed username (e.g. "ricksanchez"),
+ $NODENAME is the name of the node you want to access (e.g. "a"),
+ and $EXP is the name of the experiment (e.g. "rochefort10").