summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Ogden <bernie.ogden@linaro.org>2015-07-28 11:42:53 +0200
committerBernard Ogden <bernie.ogden@linaro.org>2015-07-28 11:42:53 +0200
commit21c813a1d4bd1bbf4c6c5cbcf4cb0771656f654b (patch)
tree438ec3d418d8faa220421acb0c25e33809ae77d7
parentf8f511fdeaaa5488fd873919c2570da0f210ade0 (diff)
Enquote public key before writing itlastwibbles
Change-Id: I09178f13f5b5328715f6e8224b1c4c2c3c2d8e1f
-rwxr-xr-xbench-session2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench-session b/bench-session
index a95d425..b817f8c 100755
--- a/bench-session
+++ b/bench-session
@@ -3,7 +3,7 @@ echo "Hostname for early debugging: $(cat /etc/hostname)"
echo "IP address for early debugging: $(hostname -I)"
mkdir -p ~/.ssh/
-echo $1 >> ~/.ssh/authorized_keys
+echo "$1" >> ~/.ssh/authorized_keys
echo "Public Key Installed: $1"
/etc/init.d/ssh restart