commit | 8c02cfc2dbc8caed7d6579d2e8e6fbc61c2b6e26 | [log] [tgz] |
---|---|---|
author | Marc De Leenheer <marc@onlab.us> | Tue Dec 02 11:40:21 2014 -0800 |
committer | Gerrit Code Review <gerrit@onlab.us> | Tue Dec 02 21:28:57 2014 +0000 |
tree | 0b8d95a6a2223d19d47aeadda81f745e9195a6f4 | |
parent | 4749f84e990dd73545101f80a1f1afeb83019194 [diff] |
Create ~/.ssh if non-existing Change-Id: I180baa4a799cdb59ed7ecac84b9f203a463a64e7
diff --git a/tools/test/bin/onos-push-keys b/tools/test/bin/onos-push-keys index cf9fd02..1eb1eec 100755 --- a/tools/test/bin/onos-push-keys +++ b/tools/test/bin/onos-push-keys
@@ -10,6 +10,7 @@ scp -q ~/.ssh/id_rsa.pub $remote:/tmp ssh $remote " + mkdir -p ~/.ssh cat /tmp/id_rsa.pub >> ~/.ssh/authorized_keys sort -u ~/.ssh/authorized_keys > ~/.ssh/authorized_keys.bak mv ~/.ssh/authorized_keys.bak ~/.ssh/authorized_keys